Diego Novillo [Thu, 18 Nov 1999 00:41:13 +0000 (00:41 +0000)]
invoke.texi: Add documentation for -muninit-const-in-rodata.
* 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.
From-SVN: r30562
Richard Henderson [Thu, 18 Nov 1999 00:39:00 +0000 (16:39 -0800)]
* jump.c (jump_optimize_1): Revert last change.
From-SVN: r30561
Alexandre Petit-Bianco [Thu, 18 Nov 1999 00:11:10 +0000 (00:11 +0000)]
MAINTAINERS: Add new Java maintainer.
Wed Nov 17 16:08:43 1999 Alexandre Petit-Bianco <apbianco@cygnus.com>
* MAINTAINERS: Add new Java maintainer.
From-SVN: r30560
Richard Henderson [Wed, 17 Nov 1999 23:28:50 +0000 (15:28 -0800)]
jump.c (jump_optimize_1): Don't try to duplicate the loop exit test if optimizing for size.
* jump.c (jump_optimize_1): Don't try to duplicate the loop exit
test if optimizing for size.
From-SVN: r30559
Gerald Pfeifer [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.
From-SVN: r30558
Craig Burley [Wed, 17 Nov 1999 18:36:40 +0000 (13:36 -0500)]
a bit of a brain-dump from earlier this year
From-SVN: r30557
Mark Mitchell [Wed, 17 Nov 1999 18:13:01 +0000 (18:13 +0000)]
Makefile.in (toplev.o): Depend on except.h.
* Makefile.in (toplev.o): Depend on except.h.
(dwarf2out.o,loop.o,flow.o,haifa-sched.o): Likewise.
From-SVN: r30556
Jan Hubicka [Wed, 17 Nov 1999 17:39:18 +0000 (18:39 +0100)]
i386.md (divmodsi4): Rewrite to expander.
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.
From-SVN: r30555
Jason Merrill [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.
* dwarf2out.c (push_decl_scope): Still use decl_scope_depth - 1
for the common case.
From-SVN: r30554
Jan Hubicka [Wed, 17 Nov 1999 17:27:30 +0000 (17:27 +0000)]
Add myself into "write after approval"
From-SVN: r30553
Jeff Law [Wed, 17 Nov 1999 08:45:07 +0000 (01:45 -0700)]
Daily bump.
From-SVN: r30552
Geoff Keating [Wed, 17 Nov 1999 02:34:15 +0000 (02:34 +0000)]
u77-test.f (wd): Allow for longer working directory pathnames.
* 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.
From-SVN: r30551
Jakub Jelinek [Tue, 16 Nov 1999 17:43:40 +0000 (09:43 -0800)]
explow.c (hard_function_value): Add outgoing argument.
* 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.
From-SVN: r30550
Jeff Law [Tue, 16 Nov 1999 08:45:10 +0000 (01:45 -0700)]
Daily bump.
From-SVN: r30549
Jason Merrill [Tue, 16 Nov 1999 05:58:53 +0000 (05:58 +0000)]
cp-tree.h, decl.c (compute_array_index_type): Make nonstatic.
* cp-tree.h, decl.c (compute_array_index_type): Make nonstatic.
* pt.c (tsubst, case INTEGER_TYPE): Call it.
Check uses_template_parms.
From-SVN: r30548
Richard Henderson [Tue, 16 Nov 1999 04:55:19 +0000 (20:55 -0800)]
ggc-common.c (ggc_print_statistics): Cast size_t to unsigned long for printing.
* 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.
From-SVN: r30547
Richard Henderson [Tue, 16 Nov 1999 04:51:28 +0000 (20:51 -0800)]
* flow.c (calculate_global_regs_live): Zero bb->aux to begin.
From-SVN: r30546
Richard Henderson [Tue, 16 Nov 1999 04:47:55 +0000 (20:47 -0800)]
alpha.c (alpha_build_va_list): Use make_lang_type and initialize TYPE_NAME for the va_list record.
* alpha.c (alpha_build_va_list): Use make_lang_type and
initialize TYPE_NAME for the va_list record.
From-SVN: r30545
Mark Mitchell [Tue, 16 Nov 1999 03:42:28 +0000 (03:42 +0000)]
cp-tree.h (build_enumerator): Change prototype.
* 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.
From-SVN: r30544
Mark Mitchell [Tue, 16 Nov 1999 03:41:13 +0000 (03:41 +0000)]
New test
From-SVN: r30543
Geoff Keating [Tue, 16 Nov 1999 03:40:16 +0000 (03:40 +0000)]
rs6000.c (first_reg_to_save): Save PIC_OFFSET_TABLE_REGNUM when -fpic even though it is fixed.
* config/rs6000/rs6000.c (first_reg_to_save): Save
PIC_OFFSET_TABLE_REGNUM when -fpic even though it is fixed.
From-SVN: r30542
Jason Merrill [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.
* 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.
From-SVN: r30541
Jason Merrill [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...
* 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.
From-SVN: r30540
Richard Henderson [Mon, 15 Nov 1999 23:40:14 +0000 (15:40 -0800)]
rs6000.h (ASM_OUTPUT_DEF): New.
* rs6000.h (ASM_OUTPUT_DEF): New.
Based on proposed addition from David Edelsohn.
From-SVN: r30539
Robert Lipe [Mon, 15 Nov 1999 14:47:53 +0000 (14:47 +0000)]
SVR5 Byteorder fixes
Co-Authored-By: Bruce Korb <autogen@linuxbox.com>
From-SVN: r30538
David O'Brien [Mon, 15 Nov 1999 09:11:42 +0000 (09:11 +0000)]
configure.in: Handle libgcc2 threads support on FreeBSD platforms.
* configure.in: Handle libgcc2 threads support on FreeBSD platforms.
* configure: Rebuilt.
* config/t-freebsd-thread: New file.
From-SVN: r30537
Jeffrey A 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.
* i386.c (ix86_decompose_address): Verify the base is a REG
before trying to examine its register number.
From-SVN: r30536
H.J. Lu [Mon, 15 Nov 1999 09:01:55 +0000 (09:01 +0000)]
* Makefile.in ($(OBJS)): Depend on stamp-picdir.
From-SVN: r30535
Jeff Law [Mon, 15 Nov 1999 09:01:30 +0000 (02:01 -0700)]
Revert last change.
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.
From-SVN: r30534
Jeffrey A Law [Mon, 15 Nov 1999 08:59:33 +0000 (08:59 +0000)]
* Makefile.in (LIBOBJS): Depend on stamp-picdir.
From-SVN: r30533
Jeff Law [Mon, 15 Nov 1999 08:45:07 +0000 (01:45 -0700)]
Daily bump.
From-SVN: r30532
Jeffrey A Law [Mon, 15 Nov 1999 08:12:29 +0000 (08:12 +0000)]
basic-block.h: Remove all #defines and prototypes related to integer lists.
* 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.
From-SVN: r30531
Jeffrey A Law [Mon, 15 Nov 1999 07:01:22 +0000 (07:01 +0000)]
basic-block.h (dump_bb_data): Remove declaration.
* 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.
From-SVN: r30530
Jeffrey A Law [Mon, 15 Nov 1999 06:18:36 +0000 (06:18 +0000)]
gcse.c (delete_null_pointer_checks_1): Kill unused s_preds argument.
* 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.
From-SVN: r30529
Jeffrey A Law [Mon, 15 Nov 1999 06:12:50 +0000 (06:12 +0000)]
gcse.c (pre_expr_reaches_here_p): Kill CHECK_PRE_COM argument.
* 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.
From-SVN: r30528
Mark Mitchell [Sun, 14 Nov 1999 20:29:06 +0000 (20:29 +0000)]
cp-tree.h (DECL_LOCAL_FUCNTION_P): New macro.
* 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.
From-SVN: r30527
Bernd Schmidt [Sun, 14 Nov 1999 11:45:55 +0000 (11:45 +0000)]
Delete two unused functions
From-SVN: r30526
Jeff Law [Sun, 14 Nov 1999 08:45:07 +0000 (01:45 -0700)]
Daily bump.
From-SVN: r30525
Mark Mitchell [Sun, 14 Nov 1999 05:04:19 +0000 (05:04 +0000)]
call.c (build_conditional_expr): Use build_target_expr_with_type.
* 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.
From-SVN: r30524
Jason Merrill [Sat, 13 Nov 1999 09:39:11 +0000 (09:39 +0000)]
decl.c (duplicate_decls): Propagate DECL_DEFER_OUTPUT.
* 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.
From-SVN: r30523
Jeff Law [Sat, 13 Nov 1999 08:45:06 +0000 (01:45 -0700)]
Daily bump.
From-SVN: r30522
Mike Stump [Sat, 13 Nov 1999 06:53:03 +0000 (06:53 +0000)]
Fix typo.
From-SVN: r30521
Mark Mitchell [Sat, 13 Nov 1999 04:48:05 +0000 (04:48 +0000)]
decl.c (cplus_expand_expr_stmt): Don't call break_out_cleanups here.
* 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.
From-SVN: r30520
Jeffrey A Law [Sat, 13 Nov 1999 03:54:56 +0000 (03:54 +0000)]
function.c (diddle_return_value): Set REG_FUNCTION_VALUE_P as needed.
* function.c (diddle_return_value): Set REG_FUNCTION_VALUE_P as
needed.
From-SVN: r30519
Zack Weinberg [Sat, 13 Nov 1999 03:23:07 +0000 (03:23 +0000)]
Fix misspelled name
From-SVN: r30518
Zack Weinberg [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.
From-SVN: r30517
Michael 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).
* defaults.h (ASM_OUTPUT_ALTERNATE_LABEL_NAME): Wrap macro
definition in do while (0).
From-SVN: r30516
Jim Wilson [Sat, 13 Nov 1999 01:04:19 +0000 (01:04 +0000)]
Fix another gcc2 merge problem: fix switch statement ISO C conformancs bug
Fix another gcc2 merge problem: fix switch statement ISO C conformancs bug
* stmt.c (pushcase, pushcase_range): Partially revert Oct 28 change.
From-SVN: r30515
Jason Merrill [Fri, 12 Nov 1999 22:25:42 +0000 (22:25 +0000)]
* rtti.c (synthesize_tinfo_fn): Set DECL_DEFER_OUTPUT.
From-SVN: r30514
Richard Henderson [Fri, 12 Nov 1999 20:44:13 +0000 (12:44 -0800)]
* unroll.c (unroll_loop): Make temp an unsigned HOST_WIDE_INT.
From-SVN: r30513
Vladimir Makarov [Fri, 12 Nov 1999 20:28:43 +0000 (20:28 +0000)]
Removing one unnecessary comment. It should be in the previous i960.h patch.
From-SVN: r30512
Vladimir Makarov [Fri, 12 Nov 1999 20:26:29 +0000 (20:26 +0000)]
i960.h (CAN_DEBUG_WITHOUT_FP): Don't define it.
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.
From-SVN: r30511
Diego Novillo [Fri, 12 Nov 1999 19:59:01 +0000 (19:59 +0000)]
init.c (init_init_processing): Re-instated Nov 11 patch after approval.
* init.c (init_init_processing): Re-instated Nov 11 patch after
approval.
From-SVN: r30510
Zack Weinberg [Fri, 12 Nov 1999 19:48:14 +0000 (19:48 +0000)]
genextract.c (record_insn_name): New function.
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.
From-SVN: r30509
Mike Stump [Fri, 12 Nov 1999 19:13:06 +0000 (19:13 +0000)]
Date...
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
From-SVN: r30508
Mike Stump [Fri, 12 Nov 1999 19:03:22 +0000 (19:03 +0000)]
Sort write-after people to match sorted order of the maintainers.
From-SVN: r30507
Kaveh R. Ghazi [Fri, 12 Nov 1999 18:47:03 +0000 (18:47 +0000)]
output.h (const_section, [...]): Add prototypes.
* output.h (const_section, init_section, fini_section): Add
prototypes.
* alpha/elf.h (const_section): Delete declaration.
* svr4.h (const_section): Likewise.
From-SVN: r30506
Diego Novillo [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.
From-SVN: r30505
Mark Mitchell [Fri, 12 Nov 1999 17:11:07 +0000 (17:11 +0000)]
decl.c (compute_array_index_type): New function, split out from grokdeclarator.
* 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.
From-SVN: r30504
Mark Mitchell [Fri, 12 Nov 1999 16:52:08 +0000 (16:52 +0000)]
tree.h (SAVE_EXPR_PERSISTENT_P): New macro.
* 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.
From-SVN: r30503
Catherine Moore [Fri, 12 Nov 1999 14:11:32 +0000 (14:11 +0000)]
defaults.h (ASM_OUTPUT_ALTERNATE_LABEL_NAME): Use ASM_OUTPUT_LABEL.
* defaults.h (ASM_OUTPUT_ALTERNATE_LABEL_NAME): Use
ASM_OUTPUT_LABEL.
From-SVN: r30502
Bernd Schmidt [Fri, 12 Nov 1999 13:38:38 +0000 (13:38 +0000)]
Treat QImode addresses the same way GO_IF_LEGITIMATE_INDEX does.
From-SVN: r30500
Bernd Schmidt [Fri, 12 Nov 1999 11:39:08 +0000 (11:39 +0000)]
Remove useless code
From-SVN: r30499
Jeff Law [Fri, 12 Nov 1999 08:45:07 +0000 (01:45 -0700)]
Daily bump.
From-SVN: r30498
Jeffrey A 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.
* function.c (diddle_return_value): Only clal hard_function_value
when the return value is supposed to be in a register.
From-SVN: r30497
Jim Wilson [Fri, 12 Nov 1999 04:34:37 +0000 (04:34 +0000)]
Fix yet another gcc2 merge problem, this one broke linux kernel compiles
Fix yet another gcc2 merge problem, this one broke linux kernel compiles
* loop.c (invariant_p, case MEM): Put MEM_VOLATILE_P check back.
From-SVN: r30496
Jim 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.
From-SVN: r30495
Jeffrey A 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.
* function.c (diddle_return_value): Use hard_function_value to
get an rtx suitable for use in the USE/CLOBBER insn.
From-SVN: r30494
Diego Novillo [Fri, 12 Nov 1999 02:03:47 +0000 (21:03 -0500)]
Moved ChangeLog entry to its proper place.
From-SVN: r30493
Jeffrey A Law [Fri, 12 Nov 1999 01:56:17 +0000 (01:56 +0000)]
global.c (global_conflicts): Update comments.
* global.c (global_conflicts): Update comments.
(record_conflicts): No need to record conflicts between pseudos here.
From-SVN: r30492
Diego Novillo [Thu, 11 Nov 1999 19:43:02 +0000 (19:43 +0000)]
init.c (init_init_processing): Header information for arrays allocated via `new' should have the same...
* gcc/cp/init.c (init_init_processing): Header information for
arrays allocated via `new' should have the same alignment used by
malloc.
From-SVN: r30491
Bruce Korb [Thu, 11 Nov 1999 14:57:55 +0000 (14:57 +0000)]
Added verbose levels for status messages
From-SVN: r30490
Alexandre Oliva [Thu, 11 Nov 1999 14:39:01 +0000 (14:39 +0000)]
* template9.C: New test.
From-SVN: r30489
Joern Rennecke [Thu, 11 Nov 1999 14:36:30 +0000 (14:36 +0000)]
Removed obsolete comment.
From-SVN: r30488
Bernd Schmidt [Thu, 11 Nov 1999 12:26:29 +0000 (12:26 +0000)]
Avoid passing things like NEG into expand_and/expand_binop
From-SVN: r30487
Rodney Brown [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.
* xcoffout.c (xcoffout_source_file): Change ggc_add_root to
gcc_add_string_root.
From-SVN: r30486
Mark Mitchell [Thu, 11 Nov 1999 10:20:49 +0000 (10:20 +0000)]
Add myself as a C++ maintainer again
From-SVN: r30485
Jeffrey A Law [Thu, 11 Nov 1999 09:21:12 +0000 (09:21 +0000)]
flow.c (compute_flow_dominators): Initially put all blocks on the worklist.
* 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.
From-SVN: r30484
Jeff Law [Thu, 11 Nov 1999 08:45:07 +0000 (01:45 -0700)]
Daily bump.
From-SVN: r30483
Jeffrey A Law [Thu, 11 Nov 1999 06:38:15 +0000 (06:38 +0000)]
basic-block.h (compute_available): Returns a void now.
* 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.
From-SVN: r30482
Jason Eckhardt [Thu, 11 Nov 1999 03:32:40 +0000 (03:32 +0000)]
* config/pa/pa.h (MASK_RETURN_ADDR): Change 0xfffffffc to -4.
From-SVN: r30481
Jeffrey A Law [Wed, 10 Nov 1999 22:57:48 +0000 (22:57 +0000)]
dwarf2out.c (add_AT_location_description): Allow (mem (plus (pseudo) (...)) too.
* dwarf2out.c (add_AT_location_description): Allow
(mem (plus (pseudo) (...)) too.
From-SVN: r30480
Mark Mitchell [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.
* error.c (dump_function_name): Don't crash if given a friend
pseudo-instantiation.
From-SVN: r30479
Tom Tromey [Wed, 10 Nov 1999 19:59:20 +0000 (19:59 +0000)]
* gcc.c (do_spec_1): Support text between `%u' and `%O'.
From-SVN: r30478
Philippe De Muyter [Wed, 10 Nov 1999 17:57:21 +0000 (18:57 +0100)]
ansidecl.h: Define and test `GCC_VERSION', not `HAVE_GCC_VERSION'.
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'.
Co-Authored-By: Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
From-SVN: r30477
Clinton Popetz [Wed, 10 Nov 1999 17:17:15 +0000 (17:17 +0000)]
gcov.c (struct arcdata): Add hits and total, remove prob.
* 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..
From-SVN: r30476
Jeffrey A Law [Wed, 10 Nov 1999 16:45:34 +0000 (16:45 +0000)]
* hashtab.c: Include stdio.h.
From-SVN: r30475
Clinton Popetz [Wed, 10 Nov 1999 15:20:16 +0000 (10:20 -0500)]
Added myself as "write after approval"
From-SVN: r30474
Jeff Law [Wed, 10 Nov 1999 08:45:07 +0000 (01:45 -0700)]
Daily bump.
From-SVN: r30472
Philippe De Muyter [Wed, 10 Nov 1999 08:12:03 +0000 (09:12 +0100)]
genoutput.c (output_insn_data): Cast `INSN_OUTPUT_FORMAT_MULTI' and `INSN_OUTPUT_FORMAT_FUNCTION' to `PTR'-type.
* genoutput.c (output_insn_data): Cast `INSN_OUTPUT_FORMAT_MULTI' and
`INSN_OUTPUT_FORMAT_FUNCTION' to `PTR'-type.
From-SVN: r30471
Hans-Peter Nilsson [Wed, 10 Nov 1999 07:53:20 +0000 (08:53 +0100)]
invoke.texi (C Dialect Options): Add missing builtins from c-common.c to list.
* invoke.texi (C Dialect Options): Add missing builtins from
c-common.c to list.
* extend.texi (Other Builtins): Copy to this list.
From-SVN: r30470
Alexandre Oliva [Wed, 10 Nov 1999 07:22:01 +0000 (07:22 +0000)]
typo; missing close paren
From-SVN: r30469
Alexandre Oliva [Wed, 10 Nov 1999 07:21:02 +0000 (07:21 +0000)]
Makefile.in (recog.o): Use BASIC_BLOCK_H macro.
* Makefile.in (recog.o): Use BASIC_BLOCK_H macro.
(print-rtl.o, $(HOST_PREIFX_1)print-rtl.o: Likewise. Remove
redundant bitmap.h.
From-SVN: r30468
Jeffrey A 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.
* 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.
From-SVN: r30467
Alexandre 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
* 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).
From-SVN: r30466
Tom Tromey [Wed, 10 Nov 1999 01:38:24 +0000 (01:38 +0000)]
re GNATS gcj/84 (path to classes.zip is compiled in to gcj at build time)
* jcf-path.c: Include <sys/stat.h>.
(jcf_path_init): Search for libjava.zip. Fixes PR gcj/84.
(DIR_UP): New macro.
From-SVN: r30465
Tom Tromey [Wed, 10 Nov 1999 01:19:08 +0000 (01:19 +0000)]
[multiple changes]
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.
From-SVN: r30464
Michael Hayes [Tue, 9 Nov 1999 22:56:56 +0000 (22:56 +0000)]
c4x-protos.h: New file.
* 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.
From-SVN: r30463
Alexandre Petit-Bianco [Tue, 9 Nov 1999 20:30:57 +0000 (20:30 +0000)]
parse.y (source_end_java_method): Resume permanent allocation, reversing Apr 27 1998 patch.
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.
From-SVN: r30462
Andrew Haley [Tue, 9 Nov 1999 16:52:19 +0000 (16:52 +0000)]
reload1.c (reload_reg_free_for_value_p): Don't use a register that is in reload_reg_used.
Thu Nov 4 15:52:35 1999 Andrew Haley <aph@cygnus.com>
* reload1.c (reload_reg_free_for_value_p): Don't use a register
that is in reload_reg_used.
From-SVN: r30461