rth [Thu, 18 Nov 1999 00:52:07 +0000 (00:52 +0000)]
* cse.c (delete_trivially_dead_insns): Identify no-op insns
containing subregs too.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30563
138bc75d-0d04-0410-961f-
82ee72b054a4
dnovillo [Thu, 18 Nov 1999 00:41:13 +0000 (00:41 +0000)]
* invoke.texi: Add documentation for -muninit-const-in-rodata.
* config/mips/mips.h (MASK_UNINIT_CONST_IN_RODATA): Define.
(TARGET_UNINIT_CONST_IN_RODATA): Define.
(text_section): Add switches -munint-const-in-rodata and
-mno-uninit-const-in-rodata.
(ASM_OUTPUT_COMMON): Remove.
(ASM_OUTPUT_ALIGNED_DECL_COMMON): Define. Check if uninitialized
const objects should be placed in read-only data. Otherwise declare
them in common.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30562
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Thu, 18 Nov 1999 00:39:00 +0000 (00:39 +0000)]
* jump.c (jump_optimize_1): Revert last change.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30561
138bc75d-0d04-0410-961f-
82ee72b054a4
apbianco [Thu, 18 Nov 1999 00:11:10 +0000 (00:11 +0000)]
Wed Nov 17 16:08:43 1999 Alexandre Petit-Bianco <apbianco@cygnus.com>
* MAINTAINERS: Add new Java maintainer.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30560
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Wed, 17 Nov 1999 23:28:50 +0000 (23:28 +0000)]
* jump.c (jump_optimize_1): Don't try to duplicate the loop exit
test if optimizing for size.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30559
138bc75d-0d04-0410-961f-
82ee72b054a4
gerald [Wed, 17 Nov 1999 20:23:43 +0000 (20:23 +0000)]
Change mail address of Per Bothner to per@bothner.com.
Approved/requested by Per himself.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30558
138bc75d-0d04-0410-961f-
82ee72b054a4
burley [Wed, 17 Nov 1999 18:36:40 +0000 (18:36 +0000)]
a bit of a brain-dump from earlier this year
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30557
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Wed, 17 Nov 1999 18:13:01 +0000 (18:13 +0000)]
* Makefile.in (toplev.o): Depend on except.h.
(dwarf2out.o,loop.o,flow.o,haifa-sched.o): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30556
138bc75d-0d04-0410-961f-
82ee72b054a4
hubicka [Wed, 17 Nov 1999 17:39:18 +0000 (17:39 +0000)]
Mon Nov 15 22:45:39 CET 1999 Jan Hubicka <hubicka@freesoft.cz>
* i386.md (divmodsi4): Rewrite to expander.
(*divmodsi4_nocltd): New.
(*divmodsi4_cltd): New.
(divmodsi4 splitter): Handle the case when input comes in edx.
(udivmodhi4): Do not use constraints in exander.
(ashrsi3_31): Conditionize by TARGET_USE_CLTD.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30555
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Wed, 17 Nov 1999 17:29:36 +0000 (17:29 +0000)]
* dwarf2out.c (push_decl_scope): Still use decl_scope_depth - 1
for the common case.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30554
138bc75d-0d04-0410-961f-
82ee72b054a4
hubicka [Wed, 17 Nov 1999 17:27:30 +0000 (17:27 +0000)]
Add myself into "write after approval"
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30553
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Wed, 17 Nov 1999 08:45:07 +0000 (08:45 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30552
138bc75d-0d04-0410-961f-
82ee72b054a4
geoffk [Wed, 17 Nov 1999 02:34:15 +0000 (02:34 +0000)]
* gcc/testsuite/g77.f-torture/execute/u77-test.f (wd): Allow for longer
working directory pathnames.
* libf2c/libU77/u77-test.f (wd): Allow for longer working directory
pathnames.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30551
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Tue, 16 Nov 1999 17:43:40 +0000 (17:43 +0000)]
* explow.c (hard_function_value): Add outgoing argument.
* expr.h (hard_function_value): Declare it.
* calls.c (expand_call, emit_library_call_value): Update callers.
* function.c (aggregate_value_p): Ditto.
(diddle_return_value): Must look at the outgoing registers
on archs with register windows.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30550
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Tue, 16 Nov 1999 08:45:10 +0000 (08:45 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30549
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Tue, 16 Nov 1999 05:58:53 +0000 (05:58 +0000)]
* cp-tree.h, decl.c (compute_array_index_type): Make nonstatic.
* pt.c (tsubst, case INTEGER_TYPE): Call it.
Check uses_template_parms.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30548
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Tue, 16 Nov 1999 04:55:19 +0000 (04:55 +0000)]
* ggc-common.c (ggc_print_statistics): Cast size_t to unsigned long
for printing.
* ggc.h (struct ggc_statistics): Rearrange elements for better
packing on 64-bit hosts.
* lcm.c (compute_laterin): Store a size_t not an int in bb->aux.
(compute_nearerout): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30547
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Tue, 16 Nov 1999 04:51:28 +0000 (04:51 +0000)]
* flow.c (calculate_global_regs_live): Zero bb->aux to begin.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30546
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Tue, 16 Nov 1999 04:47:55 +0000 (04:47 +0000)]
* alpha.c (alpha_build_va_list): Use make_lang_type and
initialize TYPE_NAME for the va_list record.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30545
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Tue, 16 Nov 1999 03:42:28 +0000 (03:42 +0000)]
* cp-tree.h (build_enumerator): Change prototype.
* decl.c (enum_next_value): Remove.
(enum_overflow): Likewise.
(init_decl_processing): Don't register enum_next_value as a root.
(start_enum): Clear TYPE_VALUES for a redefined enum.
(finish_enum): Reset the type of enumeration constants.
(build_enumerator): Fix indentation. Don't copy CONST_DECLs when
we don't need to. Maintain the TYPE_VALUES list and look there
for the previously defined enumeration constant. Let enumeration
constants have the type of their values until the enumeration type
is complete.
* parse.y (enumlist_opt, enumlist, enumerator): Don't return a value.
(structsp): Adjust.
* parse.c: Regenerated.
* pt.c (tsubst_enum): Adjust according to build_enumerator changes.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30544
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Tue, 16 Nov 1999 03:41:13 +0000 (03:41 +0000)]
New test
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30543
138bc75d-0d04-0410-961f-
82ee72b054a4
geoffk [Tue, 16 Nov 1999 03:40:16 +0000 (03:40 +0000)]
* config/rs6000/rs6000.c (first_reg_to_save): Save
PIC_OFFSET_TABLE_REGNUM when -fpic even though it is fixed.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30542
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Tue, 16 Nov 1999 01:37:39 +0000 (01:37 +0000)]
* class.c (finish_struct): If we're a local class in a template
function, add a TAG_DEFN.
* pt.c (lookup_template_class): If this is a local class in a
template function, call pushtag.
(tsubst_expr, case TAG_DEFN): Handle classes, too.
Emit debug info with the vtable.
* search.c (maybe_suppress_debug_info): New function...
* class.c (finish_struct_1): ...split out from here.
* cp-tree.h: Declare it.
* decl2.c (finish_vtable_vardecl): Override TYPE_DECL_SUPPRESS_DEBUG
if we're writing out the vtable.
* decl.c, search.c (dfs_debug_mark, dfs_debug_unmarked_p,
note_debug_info_needed): #if 0 out.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30541
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Tue, 16 Nov 1999 00:13:51 +0000 (00:13 +0000)]
* dwarf2out.c (scope_die_for): Don't rely on the decl_scope_table
notion of nesting to find the DIE for a type or function.
DIEs can go in limbo even if we got a context_die.
(push_decl_scope): Our context doesn't need to be in decl_scope_table.
(gen_struct_or_union_type_die): Don't use TREE_PERMANENT to test
for local type.
(gen_decl_die): Ignore NAMESPACE_DECLs for now.
(gen_type_die): Writing out the context doesn't cause member class
template instantiations to be written out as well.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30540
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Mon, 15 Nov 1999 23:40:14 +0000 (23:40 +0000)]
* rs6000.h (ASM_OUTPUT_DEF): New.
Based on proposed addition from David Edelsohn.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30539
138bc75d-0d04-0410-961f-
82ee72b054a4
korbb [Mon, 15 Nov 1999 14:47:53 +0000 (14:47 +0000)]
SVR5 Byteorder fixes
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30538
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Mon, 15 Nov 1999 09:11:42 +0000 (09:11 +0000)]
* configure.in: Handle libgcc2 threads support on FreeBSD platforms.
* configure: Rebuilt.
* config/t-freebsd-thread: New file.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30537
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Mon, 15 Nov 1999 09:06:12 +0000 (09:06 +0000)]
* i386.c (ix86_decompose_address): Verify the base is a REG
before trying to examine its register number.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30536
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Mon, 15 Nov 1999 09:01:55 +0000 (09:01 +0000)]
* Makefile.in ($(OBJS)): Depend on stamp-picdir.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30535
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Mon, 15 Nov 1999 09:01:30 +0000 (09:01 +0000)]
Revert last change. HJ's message meant "code like this already exists
in libiberty/libio", not "code like this needs to be added to libiberty/libio".
What a waste of my time.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30534
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Mon, 15 Nov 1999 08:59:33 +0000 (08:59 +0000)]
* Makefile.in (LIBOBJS): Depend on stamp-picdir.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30533
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Mon, 15 Nov 1999 08:45:07 +0000 (08:45 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30532
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Mon, 15 Nov 1999 08:12:29 +0000 (08:12 +0000)]
* basic-block.h: Remove all #defines and prototypes related to
integer lists.
(free_bb_mem, compute_preds_succs): Remove prototype.
* rtl.h (free_bb_mem): Remove prototype.
* flow.c (alloc_int_list_node); Remove function.
(add_inst_list_node, free_int_list, add_pred_succ): Likewise.
(compute_preds_succs, free_bb_mem): Likewise.
* gcse.c (gcse_main): Do not call free_bb_mem anymore.
* toplev.c (rest_of_compilation): Likewise.
* haifa-sched.c (build_control_flow): Use flow generated edge
list to build the haifa specific edge list.
(find_rgns): Use new CFG data structures instead of pred/succ lists.
(schedule_insns): Do not build pred/succ lists anymore. Instead
build the edge table.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30531
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Mon, 15 Nov 1999 07:01:22 +0000 (07:01 +0000)]
* basic-block.h (dump_bb_data): Remove declaration.
* flow.c (dump_bb_data): Remove function.
* sbitmap.c (sbitmap_intersect_of_predsucc): Delete function.
(sbitmap_union_of_predsucc): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30530
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Mon, 15 Nov 1999 06:18:36 +0000 (06:18 +0000)]
* gcse.c (delete_null_pointer_checks_1): Kill unused s_preds
argument. All callers changed.
(delete_null_pointer_checks_1): No longer need to compute the
pred/succ lists.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30529
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Mon, 15 Nov 1999 06:12:50 +0000 (06:12 +0000)]
* gcse.c (pre_expr_reaches_here_p): Kill CHECK_PRE_COM argument.
All callers changed.
(pre_expr_reaches_here_p_work): Likewise.
(pre_edge_insert): No longer call pre_expr_reaches_here_p.
* lcm.c (compute_laterin): Fix initialization of LATER.
(compute_nearerout): Similarly for NEARER.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30528
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Sun, 14 Nov 1999 20:29:06 +0000 (20:29 +0000)]
* cp-tree.h (DECL_LOCAL_FUCNTION_P): New macro.
* call.c (equal_functions): Use DECL_LOCAL_FUCNTION_P, not
TREE_PERMANENT.
* decl.c (pushdecl): Set DECL_LOCAL_FUNCTION_P.
* decl2.c (lookup_arg_dependent): Use it.
* cp-tree.h (cp_finish_decl): Change prototype.
(finish_static_data_member_decl): Likewise.
(push_permanent_obstack): Remove declaration.
(push_expression_obstack): Likewise.
(push_scratch_obstack): Likewise.
(DECL_TEMPLATE_PARM_P): Robustify.
(SET_DECL_TEMPLATE_PARM_P): New macro.
* class.c (add_method): Don't manipulate obstacks.
(finish_vtbls): Likewise.
* cvt.c (build_up_reference): Adjust calls to cp_finish_decl.
* decl.c (binding_for_name): Don't manipulate obstacks.
(maybe_push_to_top_level): Likewise.
(pop_from_top_level): Likewise.
(duplicate_decls): Likewise.
(pushdecl): Likewise.
(implicitly_declare): Likewise.
(build_typename_type): Likewise.
(start_decl): Likewise.
(cp_finish_decl): Likewise.
(finish_decl): Likewise.
(destroy_local_static): Likewise.
(expand_static_init): Likewise.
(complete_array_type): Likewise.
(grokvardecl): Likewise.
(build_ptrmemfnc_type): Likewise.
(grokdeclarator): Likewise.
(xref_tag): Likewise.
(xref_basetypes): Likewise.
(start_enum): Likewise.
(finish_enum): Likewise.
(start_function): Likewise.
(finish_function): Likewise.
(start_method): Adjust call to cp_finish_decl.
* decl2.c (finish_static_data_member_decl): Don't manipulate
obstacks.
(grokfield): Likewise.
(grokbitfield): Likewise.
(get_temp_name): Likewise.
(get_sentry): Likewise.
(fnish_file): Likewise.
(lookup_arg_dependent): Likewise.
* except.c (call_eh_info): Likewise.
(push_eh_info): Likewise.
(do_pop_exception): Likewise.
(initialize_handler_parm): Likewise.
(expand_end_eh_spec): Likewise.
(alloc_eh_object): Likewise.
(expand_throw): Likewise.
* expr.c (extract_scalar_init): Likewise.
* init.c (build_java_class_ref): Likewise.
* lex.c (get_time_identifier): Likewise.
(snarf_defarg): Likewise.
(add_defarg_fn): Likewise.
(is_global): Simplify.
(do_identifier): Don't check TREE_PERMANENT.
* method.c (emit_thunk): Don't manipulate obstacks.
* parse.y (condition): Adjust call to cp_finish_decl.
(primary): Likewise.
(initdcl): Likewise.
(initdcl0_innards): Likewise.
(nomods_initdcl0): Likewise.
* pt.c (push_inline_template_parms_recursive): Use
SET_DECL_TEMPLATE_PARM_P.
(process_template_parm): Likewise.
(lookup_template_class): Don't manipulate obstacks.
(instantiate_class_template): Adjust call to
finish_static_data_member_decl.
(tsubst_decl): Don't manipulate obstacks.
(tsubst_expr): Likewise.
(instantiate_template): Likewise.
(instantiate_decl): Adjust calls to cp_finish_decl.
* rtti.c (call_void_fn): Don't manipulate obstacks.
(get_tinfo_var): Likewise.
(get_tinfo_fn_unused): Likewise.
(build_dynamic_cast_1): Likewise.
(expand_si_desc): Likewise.
(expand_class_desc): Likewise.
(expand_ptr_desc): Likewise.
(expand_attr_desc): Likewise.
(expand_generic_desc): Likewise.
(synthesize_tinfo_fn): Likewise.
* search.c (expand_upcast_fixups): Likewise.
* semantics.c (finish_asm_stmt): Likewise.
(finish_named_return_value): Likewise.
(begin_class_definition): Likewise.
(finish_class_definition): Likewise.
(finish_typeof): Likewise.
* tree.c (build_cplus_method_type): Likewise.
(reverse_path): Likewise.
(copy_template_template_parm): Likewise.
(build_expr_ptr_wrapper): Likewise.
(push_expression_obstack): Remove.
(push_permanent_obstack): Likewise.
* typeck.c (mark_addressable): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30527
138bc75d-0d04-0410-961f-
82ee72b054a4
crux [Sun, 14 Nov 1999 11:45:55 +0000 (11:45 +0000)]
Delete two unused functions
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30526
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Sun, 14 Nov 1999 08:45:07 +0000 (08:45 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30525
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Sun, 14 Nov 1999 05:04:19 +0000 (05:04 +0000)]
* call.c (build_conditional_expr): Use build_target_expr_with_type.
(convert_like): Likewise.
(build_over_call): Likewise.
* cp-tree.h (build_target_expr): Remove.
(build_target_expr_with_type): New function.
* cvt.c (build_up_reference): Use get_target_expr.
* decl.c (build_target_expr): Move to ...
* tree.c (build_target_expr): Here. Make it static.
(build_target_expr_with_type): New function. Set DECL_CONTEXT on
the temporary VAR_DECLs.
(get_target_expr): Use it.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30524
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Sat, 13 Nov 1999 09:39:11 +0000 (09:39 +0000)]
* decl.c (duplicate_decls): Propagate DECL_DEFER_OUTPUT.
* decl2.c (comdat_linkage): Set DECL_DEFER_OUTPUT.
* rtti.c (get_tinfo_fn_unused): Split out from get_tinfo_fn.
* class.c (set_rtti_entry): Use it.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30523
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Sat, 13 Nov 1999 08:45:06 +0000 (08:45 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30522
138bc75d-0d04-0410-961f-
82ee72b054a4
mrs [Sat, 13 Nov 1999 06:53:03 +0000 (06:53 +0000)]
Fix typo.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30521
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Sat, 13 Nov 1999 04:48:05 +0000 (04:48 +0000)]
* decl.c (cplus_expand_expr_stmt): Don't call break_out_cleanups
here.
* semantics.c (finish_expr_stmt): Call it here instead. Move
default_conversion logic to semantic-analysis time.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30520
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Sat, 13 Nov 1999 03:54:56 +0000 (03:54 +0000)]
* function.c (diddle_return_value): Set REG_FUNCTION_VALUE_P as
needed.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30519
138bc75d-0d04-0410-961f-
82ee72b054a4
zack [Sat, 13 Nov 1999 03:23:07 +0000 (03:23 +0000)]
Fix misspelled name
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30518
138bc75d-0d04-0410-961f-
82ee72b054a4
zack [Sat, 13 Nov 1999 03:22:35 +0000 (03:22 +0000)]
Test for optimizer bug with -finline-functions.
Reported by Jim Meyering; distilled from bash.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30517
138bc75d-0d04-0410-961f-
82ee72b054a4
m.hayes [Sat, 13 Nov 1999 03:22:26 +0000 (03:22 +0000)]
* defaults.h (ASM_OUTPUT_ALTERNATE_LABEL_NAME): Wrap macro
definition in do while (0).
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30516
138bc75d-0d04-0410-961f-
82ee72b054a4
wilson [Sat, 13 Nov 1999 01:04:19 +0000 (01:04 +0000)]
Fix another gcc2 merge problem: fix switch statement ISO C conformancs bug
* stmt.c (pushcase, pushcase_range): Partially revert Oct 28 change.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30515
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Fri, 12 Nov 1999 22:25:42 +0000 (22:25 +0000)]
* rtti.c (synthesize_tinfo_fn): Set DECL_DEFER_OUTPUT.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30514
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Fri, 12 Nov 1999 20:44:13 +0000 (20:44 +0000)]
* unroll.c (unroll_loop): Make temp an unsigned HOST_WIDE_INT.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30513
138bc75d-0d04-0410-961f-
82ee72b054a4
vmakarov [Fri, 12 Nov 1999 20:28:43 +0000 (20:28 +0000)]
Removing one unnecessary comment. It should be in the previous i960.h patch.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30512
138bc75d-0d04-0410-961f-
82ee72b054a4
vmakarov [Fri, 12 Nov 1999 20:26:29 +0000 (20:26 +0000)]
Fri Nov 12 15:14:19 1999 Vladimir Makarov <vmakarov@tofu.to.cygnus.com>
* i960.h (CAN_DEBUG_WITHOUT_FP): Don't define it.
(FRAME_POINTER_REQUIRED): Don't worry about nonlocal goto.
(ELIMINABLE_REGS, CAN_ELIMINATE, INITIAL_ELIMINATION_OFFSET): New.
(INITIAL_FRAME_POINTER_OFFSET): Remove it.
* i960.c (i960_function_prologue): Don't allocate space for g8-g11
saved on the stack. Output more accurate stack frame statistics
into assembler file.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30511
138bc75d-0d04-0410-961f-
82ee72b054a4
dnovillo [Fri, 12 Nov 1999 19:59:01 +0000 (19:59 +0000)]
* init.c (init_init_processing): Re-instated Nov 11 patch after
approval.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30510
138bc75d-0d04-0410-961f-
82ee72b054a4
zack [Fri, 12 Nov 1999 19:48:14 +0000 (19:48 +0000)]
1999-11-12 11:47 -0800 Zack Weinberg <zack@bitmover.com>
* genextract.c (record_insn_name): New function.
(get_insn_name): No longer a stub.
(main): Call record_insn_name for each insn. After each label
written, print the insn name in a comment.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30509
138bc75d-0d04-0410-961f-
82ee72b054a4
mrs [Fri, 12 Nov 1999 19:13:06 +0000 (19:13 +0000)]
Date: Sun, 20 Dec 1998 22:07:16 -0700
Message-ID: <10469.
914216836@upchuck>
From: Jeffrey A Law <law@upchuck.cygnus.com>
Update the MAINTAINERS file and the next time you encounter one of these
obviously correct fixes send a copy of the patch you checked in to egcs-patches
with a note that you checked the patch in.
jeff
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30508
138bc75d-0d04-0410-961f-
82ee72b054a4
mrs [Fri, 12 Nov 1999 19:03:22 +0000 (19:03 +0000)]
Sort write-after people to match sorted order of the maintainers.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30507
138bc75d-0d04-0410-961f-
82ee72b054a4
ghazi [Fri, 12 Nov 1999 18:47:03 +0000 (18:47 +0000)]
* output.h (const_section, init_section, fini_section): Add
prototypes.
* alpha/elf.h (const_section): Delete declaration.
* svr4.h (const_section): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30506
138bc75d-0d04-0410-961f-
82ee72b054a4
dnovillo [Fri, 12 Nov 1999 17:45:10 +0000 (17:45 +0000)]
Undo patch from Nov/11/99 to init.c regarding misalignment of
cookie header for arrays of objects.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30505
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Fri, 12 Nov 1999 17:11:07 +0000 (17:11 +0000)]
* decl.c (compute_array_index_type): New function, split out from
grokdeclarator.
(create_array_type_for_decl): Likewise.
(grokdeclarator): Use them.
* semantics.c (expand_stmt): Don't suspend_momentary or
resume_momentary.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30504
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Fri, 12 Nov 1999 16:52:08 +0000 (16:52 +0000)]
* tree.h (SAVE_EXPR_PERSISTENT_P): New macro.
* tree.c (array_type_nelts): Don't handle SAVE_EXPRs specially.
(unsave_expr_now): Don't unsave SAVE_EXPR_PERSISTENT_P
expressions.
* stor-layout.c (variable_size): Set SAVE_EXPR_PERSISTENT_P on
variable-sized array bounds.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30503
138bc75d-0d04-0410-961f-
82ee72b054a4
clm [Fri, 12 Nov 1999 14:11:32 +0000 (14:11 +0000)]
* defaults.h (ASM_OUTPUT_ALTERNATE_LABEL_NAME): Use
ASM_OUTPUT_LABEL.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30502
138bc75d-0d04-0410-961f-
82ee72b054a4
nickc [Fri, 12 Nov 1999 13:38:38 +0000 (13:38 +0000)]
Treat QImode addresses the same way GO_IF_LEGITIMATE_INDEX does.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30500
138bc75d-0d04-0410-961f-
82ee72b054a4
crux [Fri, 12 Nov 1999 11:39:08 +0000 (11:39 +0000)]
Remove useless code
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30499
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Fri, 12 Nov 1999 08:45:07 +0000 (08:45 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30498
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Fri, 12 Nov 1999 07:38:32 +0000 (07:38 +0000)]
* function.c (diddle_return_value): Only clal hard_function_value
when the return value is supposed to be in a register.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30497
138bc75d-0d04-0410-961f-
82ee72b054a4
wilson [Fri, 12 Nov 1999 04:34:37 +0000 (04:34 +0000)]
Fix yet another gcc2 merge problem, this one broke linux kernel compiles
* loop.c (invariant_p, case MEM): Put MEM_VOLATILE_P check back.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30496
138bc75d-0d04-0410-961f-
82ee72b054a4
wilson [Fri, 12 Nov 1999 03:56:09 +0000 (03:56 +0000)]
Fix gdb testsuite failures caused by Kenner's bulk merge from gcc2.
* dbxout.c (dbxout_type, case INTEGER_TYPE): Handle too large
unsigned types.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30495
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Fri, 12 Nov 1999 03:46:21 +0000 (03:46 +0000)]
* function.c (diddle_return_value): Use hard_function_value to
get an rtx suitable for use in the USE/CLOBBER insn.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30494
138bc75d-0d04-0410-961f-
82ee72b054a4
dnovillo [Fri, 12 Nov 1999 02:03:47 +0000 (02:03 +0000)]
Moved ChangeLog entry to its proper place.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30493
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Fri, 12 Nov 1999 01:56:17 +0000 (01:56 +0000)]
* global.c (global_conflicts): Update comments.
(record_conflicts): No need to record conflicts between pseudos here.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30492
138bc75d-0d04-0410-961f-
82ee72b054a4
dnovillo [Thu, 11 Nov 1999 19:43:02 +0000 (19:43 +0000)]
* gcc/cp/init.c (init_init_processing): Header information for
arrays allocated via `new' should have the same alignment used by
malloc.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30491
138bc75d-0d04-0410-961f-
82ee72b054a4
korbb [Thu, 11 Nov 1999 14:57:55 +0000 (14:57 +0000)]
Added verbose levels for status messages
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30490
138bc75d-0d04-0410-961f-
82ee72b054a4
oliva [Thu, 11 Nov 1999 14:39:01 +0000 (14:39 +0000)]
* template9.C: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30489
138bc75d-0d04-0410-961f-
82ee72b054a4
amylaar [Thu, 11 Nov 1999 14:36:30 +0000 (14:36 +0000)]
Removed obsolete comment.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30488
138bc75d-0d04-0410-961f-
82ee72b054a4
crux [Thu, 11 Nov 1999 12:26:29 +0000 (12:26 +0000)]
Avoid passing things like NEG into expand_and/expand_binop
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30487
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Thu, 11 Nov 1999 10:22:10 +0000 (10:22 +0000)]
* xcoffout.c (xcoffout_source_file): Change ggc_add_root to
gcc_add_string_root.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30486
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Thu, 11 Nov 1999 10:20:49 +0000 (10:20 +0000)]
Add myself as a C++ maintainer again
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30485
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Thu, 11 Nov 1999 09:21:12 +0000 (09:21 +0000)]
* flow.c (compute_flow_dominators): Initially put all blocks on
the worklist.
* lcm.c (compute_antinout_edge, compute_available): Similarly.
* gcse.c (compute_cprop_avinout): Remove.
(compute_cprop_data): Use compute_available.
(delete_null_pointer_checks_1): Use compute_available.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30484
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Thu, 11 Nov 1999 08:45:07 +0000 (08:45 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30483
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Thu, 11 Nov 1999 06:38:15 +0000 (06:38 +0000)]
* basic-block.h (compute_available): Returns a void now.
* gcse.c (one_classic_gcse_pass): Do not expect compute_available
to return a value anymore.
* lcm.c (compute_available, compute_antinout_edge): Revamp to use
worklists. Fix boundary cases. Compute maximal solutions.
(compute_laterin, compute_nearerout): Similarly.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30482
138bc75d-0d04-0410-961f-
82ee72b054a4
jle [Thu, 11 Nov 1999 03:32:40 +0000 (03:32 +0000)]
* config/pa/pa.h (MASK_RETURN_ADDR): Change 0xfffffffc to -4.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30481
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Wed, 10 Nov 1999 22:57:48 +0000 (22:57 +0000)]
* dwarf2out.c (add_AT_location_description): Allow
(mem (plus (pseudo) (...)) too.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30480
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Wed, 10 Nov 1999 22:31:29 +0000 (22:31 +0000)]
* error.c (dump_function_name): Don't crash if given a friend
pseudo-instantiation.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30479
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Wed, 10 Nov 1999 19:59:20 +0000 (19:59 +0000)]
* gcc.c (do_spec_1): Support text between `%u' and `%O'.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30478
138bc75d-0d04-0410-961f-
82ee72b054a4
ghazi [Wed, 10 Nov 1999 17:57:21 +0000 (17:57 +0000)]
include:
* ansidecl.h: Define and test `GCC_VERSION', not `HAVE_GCC_VERSION'.
gcc:
* cppinit.c: Test `GCC_VERSION', not `HAVE_GCC_VERSION'.
* gansidecl.h: Likewise.
* rtl.c: Likewise.
* rtl.h: Likewise.
* toplev.h: Likewise.
* tree.c: Likewise.
* tree.h: Likewise.
* varray.c: Likewise.
* varray.h: Likewise.
gcc/cp:
* cp-tree.h: Test `GCC_VERSION', not `HAVE_GCC_VERSION'.
gcc/f:
* proj.h: Test `GCC_VERSION', not `HAVE_GCC_VERSION'.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30477
138bc75d-0d04-0410-961f-
82ee72b054a4
cpopetz [Wed, 10 Nov 1999 17:17:15 +0000 (17:17 +0000)]
* gcov.c (struct arcdata): Add hits and total, remove prob.
(output_branch_counts): New.
(process_args): Set output_branch_counts if -c.
(calculate_branch_probs): Store hits and total instead of
percentage.
(output_data): Emit counts if output_branch_counts is true.
* gcov.texi (Invoking Gcov): Document -c switch..
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30476
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Wed, 10 Nov 1999 16:45:34 +0000 (16:45 +0000)]
* hashtab.c: Include stdio.h.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30475
138bc75d-0d04-0410-961f-
82ee72b054a4
cpopetz [Wed, 10 Nov 1999 15:20:16 +0000 (15:20 +0000)]
Added myself as "write after approval"
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30474
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Wed, 10 Nov 1999 08:45:07 +0000 (08:45 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30472
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Wed, 10 Nov 1999 08:12:03 +0000 (08:12 +0000)]
* genoutput.c (output_insn_data): Cast `INSN_OUTPUT_FORMAT_MULTI' and
`INSN_OUTPUT_FORMAT_FUNCTION' to `PTR'-type.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30471
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Wed, 10 Nov 1999 07:53:20 +0000 (07:53 +0000)]
* invoke.texi (C Dialect Options): Add missing builtins from
c-common.c to list.
* extend.texi (Other Builtins): Copy to this list.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30470
138bc75d-0d04-0410-961f-
82ee72b054a4
oliva [Wed, 10 Nov 1999 07:22:01 +0000 (07:22 +0000)]
typo; missing close paren
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30469
138bc75d-0d04-0410-961f-
82ee72b054a4
oliva [Wed, 10 Nov 1999 07:21:02 +0000 (07:21 +0000)]
* Makefile.in (recog.o): Use BASIC_BLOCK_H macro.
(print-rtl.o, $(HOST_PREIFX_1)print-rtl.o: Likewise. Remove
redundant bitmap.h.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30468
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Wed, 10 Nov 1999 07:05:42 +0000 (07:05 +0000)]
* flow.c (compute_flow_dominators): No longer treat basic block 0
or (n_basic_blocks - 1) specially. Clear the AUX field before
starting computation of doms/pdoms. Fix initial state for pdoms.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30467
138bc75d-0d04-0410-961f-
82ee72b054a4
oliva [Wed, 10 Nov 1999 06:26:16 +0000 (06:26 +0000)]
* Makefile.in ($(HOST_PREFIX_1)rtl.o): Update dependencies to
match rtl.o's: added ggc.h and toplev.h
($(HOST_PREFIX_1)print-rtl.o): Likewise: added system.h.
($(HOST_PREFIX_1)rtlanal.o): Likewise: added system.h.
($(HOST_PREFIX_1)obstack.o): Likewise: added $(CONFIG_H).
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30466
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Wed, 10 Nov 1999 01:38:24 +0000 (01:38 +0000)]
* jcf-path.c: Include <sys/stat.h>.
(jcf_path_init): Search for libjava.zip. Fixes PR gcj/84.
(DIR_UP): New macro.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30465
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Wed, 10 Nov 1999 01:19:08 +0000 (01:19 +0000)]
Tue Nov 9 10:30:08 1999 Tom Tromey <tromey@cygnus.com>
* config/i386/xm-djgpp.h (HAVE_DOS_BASED_FILE_SYSTEM): Renamed
from HAVE_DOS_BASED_FILESYSTEM.
* gcc.c (find_a_file): Use HAVE_DOS_BASED_FILE_SYSTEM, not
HAVE_DOS_BASED_FILESYSTEM.
(main): Likewise.
(split_directories): Only special-case DOS file names if
HAVE_DOS_BASED_FILE_SYSTEM is defined. Use IS_DIR_SEPARATOR
instead of explicit tests. Conditionalize on !VMS.
(make_relative_prefix): Use IS_DIR_SEPARATOR instead of explicit
tests. Conditionalize on !VMS.
(process_command): Only use make_relative_prefix if !VMS.
(free_split_directories): Conditionalize on !VMS.
(DIR_UP): Conditionalize on !VMS.
Wed Jun 9 16:57:11 1999 Mumit Khan <khan@xraylith.wisc.edu>
* gcc.c (STANDARD_BINDIR_PREFIX): Provide default.
Fri Feb 5 14:22:01 1999 Mumit Khan <khan@xraylith.wisc.edu>
* gcc.c (make_relative_prefix): Handle the HAVE_EXECUTABLE_SUFFIX
case.
Mon Nov 8 14:16:57 1999 Michael Meissner <meissner@cygnus.com>
* invoke.texi (Environment Variables): Document relative path
lookup.
* gcc.c (DIR_UP): If not defined, define as "..".
(standard_bindir_prefix): New static, holds target location to
install binaries.
(split_directories): New function to split a filename into
component directories.
(free_split_directories): New function, release memory allocated
by split_directories.
(make_relative_prefix): New function, make a relative pathname if
the compiler is not in the expected location.
(process_command): If GCC_EXEC_PREFIX was not specified, see if we
can figure out an appropriate prefix from argv[0].
* Makefile.in (DRIVER_DEFINES): Use unlibsubdir in definition of
STANDARD_STARTFILE_PREFIX and TOOLDIR_BASE_PREFIX. Define
STANDARD_BINDIR_PREFIX.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30464
138bc75d-0d04-0410-961f-
82ee72b054a4
m.hayes [Tue, 9 Nov 1999 22:56:56 +0000 (22:56 +0000)]
* config/c4x/c4x-protos.h: New file. Prototypes for functions defined
in c4x.c.
* config/c4x/c4x.h: Moved prototypes to c4x.h.
* config/c4x/c4x.c (c4x_preferred_reload_class, c4x_limit_reload_class,
c4x_secondary_memory_needed) Delete.
(fp_zero_operand): Add mode argument.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30463
138bc75d-0d04-0410-961f-
82ee72b054a4
apbianco [Tue, 9 Nov 1999 20:30:57 +0000 (20:30 +0000)]
Tue Nov 9 12:12:38 1999 Alexandre Petit-Bianco <apbianco@cygnus.com>
* parse.y (source_end_java_method): Resume permanent allocation,
reversing Apr 27 1998 patch.
(patch_string_cst): Pop obstacks after having pushed the permanent
ones.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30462
138bc75d-0d04-0410-961f-
82ee72b054a4