Anthony Green [Sun, 21 Nov 1999 23:37:58 +0000 (23:37 +0000)]
constants.c (find_methodref_index): Unwrap method names before inserting them in the constant pool.
* constants.c (find_methodref_index): Unwrap method names before
inserting them in the constant pool.
* jcf-parse.c (jcf_parse): Display `interface' when appropriate.
* class.c (assume_compiled_node): New typedef.
(assume_compiled_tree): New static data.
(find_assume_compiled_node): New function.
(add_assume_compiled): New function.
(assume_compiled): New function.
* class.c (make_class_data): Use assume_compiled.
(is_compiled_class): Use assume_compiled.
* java-tree.h (add_assume_compiled): Declare.
* lang.c (lang_decode_option): Parse new options.
From-SVN: r30608
Alexandre Oliva [Sun, 21 Nov 1999 17:49:59 +0000 (17:49 +0000)]
* delete2.C, delete3.C, delete4.C, delete5.C: New tests.
From-SVN: r30607
Alexandre Oliva [Sun, 21 Nov 1999 17:44:34 +0000 (17:44 +0000)]
cp-tree.h (build_vec_delete): Remove `auto_delete' argument.
* cp-tree.h (build_vec_delete): Remove `auto_delete' argument.
* init.c (build_vec_delete, build_vec_delete_1): Likewise.
Always destruct virtual bases of array components, but never
delete them.
(build_vec_init): Adjust invocations.
(build_delete): Likewise.
* decl2.c (delete_sanity): Likewise.
From-SVN: r30606
Nick Clifton [Sun, 21 Nov 1999 16:11:20 +0000 (16:11 +0000)]
Rename -mshort-load-bytes switch to -malignment-traps
From-SVN: r30604
Jan Hubicka [Sun, 21 Nov 1999 12:56:01 +0000 (12:56 +0000)]
Oops, forgot the Changleog entry.
* global.c (allocno): New structure and static variable.
(allocno_reg): Remove, all references replaced by allocno.
(allocno_size): Likewise.
(hard_reg_conflicts): Likewise.
(hard_reg_preferences): Likewise.
(hard_reg_copy_preferences): Likewise.
(hard_reg_full_preferences): Likewise.
(regs_someone_prefers): Likewise.
(allocno_calls_crossed): Likewise.
(allocno_n_refs): Likewise.
(allocno_live_length): Likewise.
(find_reg): Rename ALLOCNO to NUM.
From-SVN: r30603
Jan Hubicka [Sun, 21 Nov 1999 12:53:31 +0000 (12:53 +0000)]
global.c (allocno): New structure and static variable.
* global.c (allocno): New structure and static variable.
(allocno_reg): Remove, all references replaced by allocno.
(allocno_size): Likewise.
(hard_reg_conflicts): Likewise.
(hard_reg_preferences): Likewise.
(hard_reg_copy_preferences): Likewise.
(hard_reg_full_preferences): Likewise.
(regs_someone_prefers): Likewise.
(allocno_calls_crossed): Likewise.
(allocno_n_refs): Likewise.
(allocno_live_length): Likewise.
(find_reg): Rename ALLOCNO to NUM.
From-SVN: r30602
Jan Hubicka [Sun, 21 Nov 1999 12:40:47 +0000 (12:40 +0000)]
regclass.c (may_move_in_cost): Rename from may_move_cost, all references updated.
* regclass.c (may_move_in_cost): Rename from may_move_cost, all
references updated.
(may_move_out_cost): New variable.
(init_reg_sets_1): Initialize may_move_out_cost.
(record_reg_classes): Use may_move_out_cost.
From-SVN: r30601
Jan Hubicka [Sun, 21 Nov 1999 12:33:17 +0000 (12:33 +0000)]
regclass.c (dump_regclass): New function.
* regclass.c (dump_regclass): New function.
(regclass): New parameter DUMP, call DUMP_REGCLASS.
* toplev.c (rest_of_compilation): Opent lreg dump file before regclass,
pass rtl_dump_file to regclass.
* rtl.h (regclass): Update prototype.
From-SVN: r30600
Jeff Law [Sun, 21 Nov 1999 08:45:07 +0000 (01:45 -0700)]
Daily bump.
From-SVN: r30599
Geoff Keating [Sun, 21 Nov 1999 07:53:01 +0000 (07:53 +0000)]
varasm.c (output_constructor): Solve problem with long long bitfields...
* varasm.c (output_constructor): Solve problem with long long
bitfields, even on BYTES_BIG_ENDIAN machines (testcase 991118-1).
From-SVN: r30598
Jan Hubicka [Sun, 21 Nov 1999 01:34:22 +0000 (02:34 +0100)]
i386.md (neg, [...]): Revmap to use ix86_expand_unary_operator and ix86_unary_operator_ok.
* i386.md (neg, not and abs patterns): Revmap to use
ix86_expand_unary_operator and ix86_unary_operator_ok.
(add?f and sub?f expanders): Force operand 1 to register.
* i386.c (ix86_expand_unary_operator): Rewrite.
(ix86_unary_operator_ok): Ensure that memory operands
match real opcode.
(ix86_binary_operator_ok): Do not allow operand 1 to
come into memory and operand 0 not.
(ix86_expand_binary_operator): Ensure that
src1 is not non-matching memory.
From-SVN: r30597
Jan Hubicka [Sun, 21 Nov 1999 00:04:15 +0000 (01:04 +0100)]
i386.md (negs?2): Rewrite to expanders...
* i386.md (negs?2): Rewrite to expanders, new patterns and splitters
to support integer registers and memory.
(abss?2_integer): Likewise.
From-SVN: r30596
Jeff Law [Sat, 20 Nov 1999 08:45:06 +0000 (01:45 -0700)]
Daily bump.
From-SVN: r30595
Jan Hubicka [Fri, 19 Nov 1999 20:50:36 +0000 (21:50 +0100)]
i386.h (enum reg_class): Add FLOAT_INT_REGS.
* i386.h (enum reg_class): Add FLOAT_INT_REGS.
(REG_CLASS_NAMES): Likewise.
(REG_CLASS_CONTENTS): Define FLOAT_INT_REGS as union of FLOAT_REGS
and GENERAL_REGS.
* i386.md (pushsf): Do not preferre FLOAT_REGS over GENERAL_REGS.
(movsf): Likewise; unify 4th and 5th alternative.
(pushdf): Likewise.
(movdf_1): Likewise; rename to movdf_integer.
(pushxf): Likewise; rename to pushxf_integer; fix output template;
remove redundant splitter.
(movxf_1): Likewise; rename to movxf_integer; fix splitter's condition.
(movdf_nointeger): New.
(movxf_nointeger): New.
(pushxf_nointeger): New.
From-SVN: r30594
Jan Hubicka [Fri, 19 Nov 1999 20:27:08 +0000 (21:27 +0100)]
i386.md (extend?f?f): Split to expander and pattern, refuse two memory operands in patterns.
* i386.md (extend?f?f): Split to expander and pattern, refuse two
memory operands in patterns.
(fop*): Refuse two memory operands.
From-SVN: r30593
Jan Hubicka [Fri, 19 Nov 1999 20:12:14 +0000 (21:12 +0100)]
i386.md (ashrsi3_31): Allow cltd when optimizing for size even on !TARGET_USE_CLTD CPUs.
* i386.md (ashrsi3_31): Allow cltd when optimizing for size even
on !TARGET_USE_CLTD CPUs.
From-SVN: r30592
Tom Tromey [Fri, 19 Nov 1999 19:13:42 +0000 (19:13 +0000)]
sjlj jumbo patch
From-SVN: r30591
Diego Novillo [Fri, 19 Nov 1999 18:23:48 +0000 (18:23 +0000)]
* MAINTAINERS: Add new 'write after approval' maintainer.
From-SVN: r30590
Diego Novillo [Fri, 19 Nov 1999 17:23:37 +0000 (17:23 +0000)]
rtl.texi (mem): Add documentation for alias-set argument to RTX `mem'.
* rtl.texi (mem): Add documentation for alias-set argument
to RTX `mem'.
From-SVN: r30589
Nathan Sidwell [Fri, 19 Nov 1999 13:04:48 +0000 (13:04 +0000)]
* g++.old-deja/g++.ext/restrict1.C: New test.
From-SVN: r30588
Nathan Sidwell [Fri, 19 Nov 1999 13:03:00 +0000 (13:03 +0000)]
extend.texi: Document C++ restricted pointers and references.
* extend.texi: Document C++ restricted pointers and references.
* cp-tree.h (grok_method_quals): Return this pointer qualifiers.
* decl.c (grokdeclarator): Adjust calls to grok_method_quals.
* decl2.c (grok_method_quals): Accept `restrict' as applying to
the object pointer. Return such qualifiers.
(grokclassfn): Apply this pointer qualifiers. Cleanup unused
variables.
From-SVN: r30587
Bernd Schmidt [Fri, 19 Nov 1999 11:36:25 +0000 (11:36 +0000)]
addr_affects_sp_p now unconditional
From-SVN: r30586
Jan Hubicka [Fri, 19 Nov 1999 09:12:18 +0000 (09:12 +0000)]
i386.h (struct_processor_costs): New fileds int_load, int_store, fp_move, fp_load and fp_store
* i386.h (struct_processor_costs): New fileds int_load, int_store, fp_move,
fp_load and fp_store
(REGISTER_MOVE_COST): Fix comment, calculate exactly the cost of
fp->int moves
(MEMORY_MOVE_COST): New macro.
* i386.c (386_cost): Define new fields.
(i486_cost): Likewise.
(pentium_cost): Likewise.
(pentiumpro_cost): Likewise.
(k6_cost): Likewise.
From-SVN: r30585
Jeff Law [Fri, 19 Nov 1999 08:45:07 +0000 (01:45 -0700)]
Daily bump.
From-SVN: r30584
Alexandre Oliva [Fri, 19 Nov 1999 06:36:45 +0000 (06:36 +0000)]
* template7.C: Crash test passes, bug error is now bogus.
From-SVN: r30583
Alexandre Oliva [Fri, 19 Nov 1999 03:23:11 +0000 (03:23 +0000)]
Changed my e-mail address to oliva@lsd.ic.unicamp.br
From-SVN: r30582
Alexandre Petit-Bianco [Fri, 19 Nov 1999 01:43:21 +0000 (01:43 +0000)]
class.c (layout_class): Always convert TYPE_SIZE_UNIT to int_type_node...
Wed Nov 17 21:09:28 1999 Alexandre Petit-Bianco <apbianco@cygnus.com>
* class.c (layout_class): Always convert TYPE_SIZE_UNIT to
int_type_node: that's what `_Jv_AllocObject' expects.
From-SVN: r30581
Gabriel Dos Reis [Fri, 19 Nov 1999 01:40:12 +0000 (02:40 +0100)]
valarray_meta.h (_DEFINE_EXPR_UNARY_FUNCTION): Don't forget to define tanh.
1999-11-19 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
* std/valarray_meta.h (_DEFINE_EXPR_UNARY_FUNCTION): Don't forget
to define tanh.
From-SVN: r30580
Greg McGary [Fri, 19 Nov 1999 00:23:01 +0000 (00:23 +0000)]
m68kelf.h: Suppress '/* within comment' warning.
* config/m68k/m68kelf.h: Suppress '/* within comment' warning.
* config/m68k/m68k.h (MASK_PCREL): Don't use same value as
MASK_ALIGN_INT.
* config/m68k/m68k.h (MASK_NO_STRICT_ALIGNMENT): New macro.
(TARGET_STRICT_ALIGNMENT): New macro.
(TARGET_SWITCHES): Add "strict-align" and "no-strict-align".
(STRICT_ALIGNMENT): Depend on TARGET_STRICT_ALIGNMENT.
* invoke.texi (M680x0 Options): Document -mstrict-align.
Co-Authored-By: Geoff Keating <geoffk@cygnus.com>
From-SVN: r30579
Jan Hubicka [Thu, 18 Nov 1999 19:10:44 +0000 (20:10 +0100)]
i386-protos.h (split_xf, [...]): Remove.
* i386-protos.h (split_xf, ix86_split_movdi): Remove.
(ix86_split_long_move): Declare.
* i386.c (split_xf, ix86_split_movdi): Remove.
(ix86_split_to_parts, ix86_split_long_move): New.
* i386.md (dimode move splitters): Use ix86_split_long_move.
(dfmode move splitters): Likewise.
(xfmode move splitters): Likewise.
(movsf_1): Allow F->r.
(movdf_1, movxf_1): Allow F->ro.
Co-Authored-By: Richard Henderson <rth@cygnus.com>
From-SVN: r30578
Mark Mitchell [Thu, 18 Nov 1999 17:52:27 +0000 (17:52 +0000)]
except.c (expand_end_catch_block): Fix typo.
* except.c (expand_end_catch_block): Fix typo.
(expand_exception_blocks): Simplify. Don't call
expand_leftover_cleanups.
From-SVN: r30577
Mark Mitchell [Thu, 18 Nov 1999 17:50:56 +0000 (17:50 +0000)]
except.h (struct eh_entry): Add goto_entry_p.
* except.h (struct eh_entry): Add goto_entry_p.
(eh_region_from_symbol): Remove prototype.
* except.c (find_func_region_from_symbol): New function.
(emit_cleanup_handler): Likewise.
(eh_region_from_symbol): Make it static.
(add_new_handler): Verify the argument.
(find_func_region): Update comment.
(expand_eh_region_end): Expand handlers here, rater than waiting
until expand_leftover_cleanups or start_all_catch.
(expand_leftover_cleanups): Don't expand here.
(expand_start_all_catch): Or here.
(expand_rethrow): Check the return value from find_func_region.
* function.c (expand_function_end): Emit the catch_clauses.
From-SVN: r30576
Gavin Romig-Koch [Thu, 18 Nov 1999 15:12:51 +0000 (15:12 +0000)]
* integrate.c (expand_inline_function): Add necessary check for NULL.
From-SVN: r30575
Nick Clifton [Thu, 18 Nov 1999 11:01:34 +0000 (11:01 +0000)]
Fix command line parsing to report unrecognised options.
From-SVN: r30574
Jeff Law [Thu, 18 Nov 1999 08:45:07 +0000 (01:45 -0700)]
Daily bump.
From-SVN: r30573
Michael Gschwind [Thu, 18 Nov 1999 08:00:50 +0000 (08:00 +0000)]
basic-block.h (update_life_extent): Remove trailing comma on enumeration type list.
* basic-block.h (update_life_extent): Remove trailing comma on
enumeration type list.
From-SVN: r30572
Herman A.J. ten Brugge [Thu, 18 Nov 1999 07:57:32 +0000 (08:57 +0100)]
* varasm.c (output_constructor) Solved problem with long long
bitfields. Corrected calculating this_time and shift. Also
corrected calculating mask when BITS_PER_UNIT == 32 (c4x).
From-SVN: r30571
Herman A.J. ten Brugge [Thu, 18 Nov 1999 07:56:12 +0000 (08:56 +0100)]
* gcc.c-torture/execute/991118-1.c: New test.
From-SVN: r30570
Tom Tromey [Thu, 18 Nov 1999 07:32:50 +0000 (07:32 +0000)]
* no-threads.cc (_Jv_ThreadStart): Use JvFail and not JvAssert.
From-SVN: r30569
Tom Tromey [Thu, 18 Nov 1999 07:19:00 +0000 (07:19 +0000)]
natClass.cc (MCACHE_SIZE): Define as a power of 2 minus 1.
* java/lang/natClass.cc (MCACHE_SIZE): Define as a power of 2
minus 1.
(method_cache): Made larger.
From-SVN: r30568
Jeffrey A Law [Thu, 18 Nov 1999 06:45:55 +0000 (06:45 +0000)]
flow.c (split_edge): Take looping structure into account when determining where to put the new block...
* flow.c (split_edge): Take looping structure into account when
determining where to put the new block note.
From-SVN: r30567
Godmar Back [Thu, 18 Nov 1999 03:59:48 +0000 (03:59 +0000)]
typeck.c: (lookup_java_method): search all inherited interfaces when...
Wed Nov 3 15:20:02 MST 1999 Godmar Back <gback@cs.utah.edu>
* typeck.c: (lookup_java_method): search all inherited
interfaces when looking up interface method.
From-SVN: r30566
Jeff Law [Thu, 18 Nov 1999 03:59:33 +0000 (20:59 -0700)]
Replace spaces with tab in last change.
From-SVN: r30565
Jeff Holcomb [Thu, 18 Nov 1999 03:52:39 +0000 (03:52 +0000)]
Makefile.in (ggc-none.o): Provide host specific version if needed.
* Makefile.in (ggc-none.o): Provide host specific version if
needed.
From-SVN: r30564
Richard Henderson [Thu, 18 Nov 1999 00:52:07 +0000 (16:52 -0800)]
cse.c (delete_trivially_dead_insns): Identify no-op insns containing subregs too.
* cse.c (delete_trivially_dead_insns): Identify no-op insns
containing subregs too.
From-SVN: r30563
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