Tom Tromey
ee7ea78d2a
Removed duplicate ChangeLog entry
...
From-SVN: r34042
2000-05-20 01:17:57 +00:00
Tom Tromey
1dcc053603
BufferedWriter.java: Merged with Classpath.
...
* java/io/BufferedWriter.java: Merged with Classpath.
* java/io/BufferedOutputStream.java: Merged with Classpath.
From-SVN: r34041
2000-05-19 23:35:34 +00:00
Mark Mitchell
a55583e909
Don't create a separate copy of virtual bases for the CLASSTYPE_VBASECLASSES list.
...
Don't create a separate copy of virtual bases for the
CLASSTYPE_VBASECLASSES list.
* cp-tree.h (CLASSTYPE_VBASECLASSES): Change documentation.
(BINFO_FOR_VBASE): Remove.
(CANONICAL_BINFO): Adjust.
(binfo_for_vbase): New function.
* class.c (build_vbase_pointer_fields): Use binfo_for_vbase
instead of BINFO_FOR_VBASE.
(build_vbase_pointer): Likewise.
(build_secondary_vtable): Likewise.
(dfs_mark_primary_bases): Likewise.
(mark_primary_bases): Likewise.
(layout_nonempty_base_or_field): Likewise.
(dfs_set_offset_for_shared_vbases): Likewise.
(dfs_set_offset_for_unshared_vbases): Likewise.
(layout_virtual_bases): Likewise. Adjust for changes to the
CLASSTYPE_VBASECLASSES list.
(dump_class_hierarchy_r): Use binfo_for_vbase
instead of BINFO_FOR_VBASE.
(dump_class_hierarchy): Likewise.
(finish_vtbls): Likewise.
(build_vtbl_initializer): Adjust for changes to the
CLASSTYPE_VBASECLASSES list.
(build_vbase_offset_vtbl_entries): Use binfo_for_vbase.
* decl.c (finish_destructor_body): Adjust for changes to the
CLASSTYPE_VBASECLASSES list.
* init.c (sort_base_init): Use binfo_for_vbase.
(construct_virtual_bases): Adjust for changes to the
CLASSTYPE_VBASECLASSES list.
(expand_member_init): Use binfo_for_vbase.
(build_vbase_delete): Adjust for changes to the
CLASSTYPE_VBASECLASSES list.
* method.c (do_build_copy_constructor): Likewise.
* rtti.c (get_base_offset): Use binfo_for_vbase.
(expand_class_desc): Remove #if 0'd code.
* search.c (struct vbase_info): Remove vbase_types.
(get_base_distance): Use binfo_for_vbase.
(lookup_field_queue_p): Use CANONICAL_BINFO.
(get_shared_vbase_if_not_primary): Use binfo_for_vbase.
(get_pure_virtuals): Adjust for changes to the
CLASSTYPE_VBASECLASSES list.
(dfs_find_vbases): Use binfo_for_vbase.
(dfs_init_vbase_pointers): Likewise.
(init_vbase_pointers): Don't initialize vi.vbase_types.
(virtual_context): Use binfo_for_vbase.
(fixup_all_virtual_upcast_offsets): Adjust for changes to the
CLASSTYPE_VBASECLASSES list.
(expand_indirect_vtbls_init): Simplify.
(dfs_get_vbase_types): Don't replicate virtual bases.
(find_vbase_instance): Use binfo_for_vbase.
(binfo_for_vbase): New function.
* typeck.c (get_delta_difference): Use binfo_for_vbase.
From-SVN: r34040
2000-05-19 23:06:55 +00:00
Richard Kenner
efc9bd412d
cse.c (cse_basic_block): Only call find_reg_note if REG_NOTES not 0.
...
* cse.c (cse_basic_block): Only call find_reg_note if REG_NOTES not 0.
* reload.c (find_equiv_reg): Likewise.
* alias.c (init_alias_analysis): Likewise.
Only call prologue_epilogue_contains on insns.
* basic-block.h (REG_SET_TO_HARD_REG_SET): Call new function.
* bb-reorder.c (hard-reg-set.h): Include earlier.
* haifa-sched.c (hard-reg-set.h): Likewise.
* ifcvt.c (hard-reg-set.h): Likewise.
* local-alloc.c (hard-reg-set.h): Likewise.
* loop.c (hard-reg-set.h): Likewise.
* predict.c (hard-reg-set.h): Likewise.
* regrename.c (hard-reg-set.h): Likewise.
* flow.c (hard-reg-set.h): Likewise.
(reg_set_to_hard_reg_set): New function.
* bitmap.c (regs.h, basic-block.h): No longer include.
(bitmap.h): Now include.
* conflict.c (hard-reg-set.h): Include.
* profile.c (hard-reg-set.h): Likewise.
* print-rtl.c (hard-reg-set.h): Likewise.
* sbitmap.c (hard-reg-set.h): Likewise.
* toplev.c (hard-reg-set.h): Likewise.
* unroll.c (hard-reg-set.h, basic-block.h): Likewise.
* hard-reg-set.h (reg_names): Now constant.
* regs.h (reg_names): Likewise.
* regclass.c (reg_names): Likewise.
* loop.h (basic-block.h): No longer include.
(bitmap.h): Now include.
* reload1.c (order_regs_for_reload): Avoid loop over reg sets.
* Makefile.in (LOOP_H, sbitmap.o, profile.o): Reflect above changes.
(toplev.o, print-rtl.o, conflict.o, unroll.o, bitmap.o): Likewise.
From-SVN: r34039
2000-05-19 18:27:28 -04:00
Alexandre Petit-Bianco
c280e37af4
parse.y (block_end:): If the collected block doesn't feature a statement, insert an empty statement.
...
Thu Apr 27 17:25:33 2000 Alexandre Petit-Bianco <apbianco@cygnus.com>
* parse.y (block_end:): If the collected block doesn't feature a
statement, insert an empty statement.
From-SVN: r34038
2000-05-19 22:04:08 +00:00
Jan Hubicka
51891abe62
basic-block.h (struct edge_def): New field "count".
...
* basic-block.h (struct edge_def): New field "count".
(struct basic_block_def): Likewise.
* flow.c (entry_exit_blocks): Add count fileds.
(split_edge): Keep count information up-to-date.
(dump_edge_info, dump_flow_info): Dump count fields.
* final.c (count_instrumented_edges): Rename to edge from arc.
(end_final): Update users.
* profile.c: Include expr.h, basic-block.h.
(struct adj_list, ARC_TARGET, ARC_SOURCE, ARC_COUNT): Kill.
(struct bb_info, label_to_bb, label_to_bb_size, bb_graph): Kill.
(ignore_next_note, return_label_execution_count): Kill.
(bbg_file_name, da_file_name): Kill.
(edge_info, bb_info): New structures.
(EDGE_INFO, BB_INFO, GCOV_INDEX_TO_BB, BB_TO_GCOV_INDEX): New macros.
(count_instrumented_edges, total_num_edges): Rename to edge from arc.
(total_num_edges_instrumented): Likewise.
(init_arc, expand_spanning_tree): Kill.
(fill_spanning_tree, tablejump_entry_p): Kill.
(instrument_edges): Rewrite from instrument_arcs to use
commit_edge_insertions infrastructure.
(compute_branch_probabilities): Remove arguments; rewrite for
CFG infrastructure; use rtl_dump_file directly.
(branch_prob, find_spanning_tree): Likewise.
(union_groups, find_group): New.
(init_branch_prob): Make bbg_file_name and da_file_name local.
(end_branch_prob): Use rtl_dump_file directly.
(init_edge_profiler): Rename to edge from arc.
(output_arc_profiler): Kill.
(gen_edge_profiler): New.
(output_func_start_profiler): Turn off profiling. Make the
constructor static when we can.
* rtl.h (branch_prob, end_branch_prob): Update prototypes.
* toplev.c (DFI_flow): Remove.
(DFI_cfg, DFI_life): New.
(dump_file): Update accordingly.
(compile_file): Call end_branch_prob if profile_arc_flag too.
(rest_of_compilation): Move flow1 cfg creation to DFI_cfg. Do edge
profiling after the CFG is built. Move flow1 life analysis to
DFI_life. Always estimate remaining probabilities.
Co-Authored-By: Richard Henderson <rth@cygnus.com>
From-SVN: r34037
2000-05-19 13:51:49 -07:00
Richard Henderson
b6cfd26443
* ifcvt.c (find_if_case_2): Don't allow THEN to be EXIT.
...
From-SVN: r34036
2000-05-19 13:07:18 -07:00
Richard Henderson
228c4d97ec
* flow.c (make_edges): The sibling call edge to exit is abnormal.
...
From-SVN: r34035
2000-05-19 12:58:42 -07:00
Phil Edwards
8bd636c511
acinclude.m4: Clean up comments on newer checks.
...
2000-05-19 Phil Edwards <pme@sourceware.cygnus.com>
* acinclude.m4: Clean up comments on newer checks.
(GLIBCPP_CHECK_COMPILER_VERSION): Check for system_header
pragma support. Remove WERRORSUPPRESS variable, add WERROR.
* aclocal.m4: Regenerate.
* configure: Regenerate.
* Makefile.in: Regenerate.
* libio/Makefile.in: Regenerate.
* math/Makefile.in: Regenerate.
* src/Makefile.am: Tell make's WERROR to depend on configure's WERROR.
* src/Makefile.in: Regenerate.
* docs/configopts.html: Document changes to --enable names.
From-SVN: r34034
2000-05-19 19:55:50 +00:00
Richard Henderson
9ba11d5ad2
jump.c (redirect_jump): Add delete_unused argument.
...
* jump.c (redirect_jump): Add delete_unused argument. Don't
remove labels and code following when LABEL_NUSES goes to zero.
(invert_jump): Likewise.
(jump_optimize_1): Fix redirect/invert arguments.
(do_cross_jump, thread_jumps): Likewise.
* flow.c (split_edge): Likewise.
* reorg.c (optimize_skip): Likewise.
(reorg_redirect_jump, relax_delay_slots, dbr_schedule): Likewise.
* profile.c (instrument_arcs): Likewise.
* loop.c (find_and_verify_loops): Likewise. Fix indentation.
* rtl.h: Update prototypes.
From-SVN: r34033
2000-05-19 12:53:17 -07:00
Phil Edwards
63864c8290
Update footer date; must check in before others.
...
From-SVN: r34032
2000-05-19 19:50:40 +00:00
Clinton Popetz
555a0aa72e
ssa.c (convert_from_ssa): Tell life_analysis we need death notes.
...
* ssa.c (convert_from_ssa): Tell life_analysis we need death
notes.
(make_regs_equivalent_over_bad_edges): Only look at abnormal
critical edges.
From-SVN: r34031
2000-05-19 15:23:02 -04:00
David Edelsohn
ea25bef41f
* gcc.c-torture/execute/20000519-2.c: New test.
...
From-SVN: r34030
2000-05-19 14:34:52 -04:00
Andreas Jaeger
0d9a7d79ac
20000519-1.c: Testcase from Ulrich Drepper which fails with SSA.
...
2000-05-19 Andreas Jaeger <aj@suse.de>
* gcc.c-torture/execute/20000519-1.c: Testcase from Ulrich Drepper
which fails with SSA.
From-SVN: r34029
2000-05-19 20:06:09 +02:00
Tom Tromey
6c80c45e30
Jumbo patch:
...
* Imported beans and serialization
* Updated IA-64 port
* Miscellaneous bug fixes
From-SVN: r34028
2000-05-19 17:55:34 +00:00
Zack Weinberg
021c89ed68
cpphash.c (funlike_macroexpand): Make sure not to walk p1 past l1 when deleting whitespace and markers.
...
* cpphash.c (funlike_macroexpand): Make sure not to walk p1
past l1 when deleting whitespace and markers.
From-SVN: r34027
2000-05-19 17:43:38 +00:00
Andreas Jaeger
b4c40d3c2c
c-torture.exp: Also test with -O3 -fssa.
...
2000-05-19 Andreas Jaeger <aj@suse.de>
* lib/c-torture.exp: Also test with -O3 -fssa.
From-SVN: r34026
2000-05-19 19:42:45 +02:00
Zack Weinberg
a58f64f5c2
cpplex.c (_cpp_scan_until): Clear AUX field of tokens.
...
* cpplex.c (_cpp_scan_until): Clear AUX field of tokens.
* cpplib.c (do_unassert): Put the list to compare against on
the stack.
From-SVN: r34025
2000-05-19 16:18:43 +00:00
Alexandre Petit-Bianco
ec5bb3cfb0
parse.y (fold_constant_for_init): Let VAR_DECL and FIELD_DECL be processed by the method's switch statement.
...
2000-04-17 Alexandre Petit-Bianco <apbianco@cygnus.com>
* parse.y (fold_constant_for_init): Let VAR_DECL and FIELD_DECL be
processed by the method's switch statement.
From-SVN: r34024
2000-05-19 16:17:20 +00:00
Tom Tromey
9429bc4fb5
Reverted incorrectly applied change
...
From-SVN: r34023
2000-05-19 16:10:55 +00:00
Tom Tromey
67db0ce748
java-tree.h: Added init state enum.
...
* java-tree.h: Added init state enum.
* decl.c (emit_init_test_initialization): Initialize class
initialization check variable by looking at class' state.
From-SVN: r34022
2000-05-19 16:04:10 +00:00
Tom Tromey
43490bec9d
java-tree.h (build_instanceof): Declare.
...
* java-tree.h (build_instanceof): Declare.
(build_get_class): Declare.
* parse.y (patch_binop): Use build_instanceof.
* expr.c (build_instanceof): New function. If class is final,
don't make a function call.
(expand_java_INSTANCEOF): Use it.
(build_get_class): New function.
From-SVN: r34021
2000-05-19 15:59:15 +00:00
Bruce Korb
da6d3adf1e
test_text cleanups
...
From-SVN: r34020
2000-05-19 14:15:24 +00:00
Richard Kenner
f2b339813f
elfos.h (SELECT_SECTION): Don't access DECL_INITIAL of a CONSTRUCTOR.
...
* config/elfos.h (SELECT_SECTION): Don't access DECL_INITIAL of
a CONSTRUCTOR.
From-SVN: r34019
2000-05-19 06:44:55 -04:00
Benjamin Kosnik
6dad70df54
[multiple changes]
...
2000-05-18 Chip Salzenberg <chip@valinux.com>
* bits/ostream.tcc (_S_pad_char): Function template should not be
static.
* bits/streambuf.tcc (_S_copy_streambufs): Likewise.
* src/string-inst.cc (__destroy_aux): Instantiate for string*.
2000-05-18 Nathan C. Myers <ncm@cantrip.org>
* mkcshadow: Change C_Swamp to C_legacy.
* shadow/*: Same.
* shadow/bits/*: Same.
s/C_Swamp/C_legacy/g
s/SWAMP/LEGACY/g
s/_Shadow/_shadow/g
2000-05-18 Anthony Williams <anthony@anthonyw.cjb.net>
* bits/locale_facets.tcc (num_get::_M_extract): Change char* to
const char*.
* src/string-inst.cc (string::_S_find): Same.
From-SVN: r34018
2000-05-19 09:33:23 +00:00
Jeff Law
5cabe22bdf
Daily bump.
...
From-SVN: r34017
2000-05-19 01:45:07 -06:00
Chris Demetriou
c6fd0f171e
gcc.texi (MULTILIB_EXCEPTIONS): Correct example and update it to match the current practice.
...
* gcc.texi (MULTILIB_EXCEPTIONS): Correct example and update
it to match the current practice.
From-SVN: r34012
2000-05-18 22:43:18 -06:00
Mark Mitchell
e7f731a73e
* Makefile.in (STAGESTUFF): Fix typo in spelling of s-under.
...
From-SVN: r34011
2000-05-19 04:13:35 +00:00
Richard Henderson
a8393d5dc2
rtlanal.c (insn_dependant_p, [...]): New.
...
* rtlanal.c (insn_dependant_p, insn_dependant_p_1): New.
* rtl.h (insn_dependant_p): Declare it.
* loop.c (strength_reduce): Use it.
From-SVN: r34010
2000-05-18 20:44:58 -07:00
Michael Meissner
14806ff142
Remove CYGNUS LOCAL markers
...
From-SVN: r34009
2000-05-19 02:54:38 +00:00
Bryce McKinlay
51becdd6ae
Oops, typo in last change.
...
From-SVN: r34008
2000-05-19 03:46:09 +01:00
Alexandre Oliva
036182e738
mn10300.c (expand_prologue, [...]): 16-bit and 64-bit clean-up.
...
* config/mn10300/mn10300.c (expand_prologue, expand_epilogue):
16-bit and 64-bit clean-up.
From-SVN: r34007
2000-05-19 00:56:08 +00:00
Alexandre Oliva
062edaed2a
jcf-write.c (generate_classfile): Scan the source_file for slashes with the right pointer variable.
...
2000-05-18 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
* jcf-write.c (generate_classfile): Scan the source_file for
slashes with the right pointer variable.
From-SVN: r34006
2000-05-19 00:52:10 +00:00
Bryce McKinlay
c1f76317e4
From Gregory R. Warnes <warnes@biostat.washington.edu>:
...
* gnu/gcj/protocol/jar/Connection.java (getJarFile): Test for null
`jarFile', not `jarFileURL'.
From-SVN: r34005
2000-05-19 00:50:34 +01:00
Mark Elbrecht
2838397ce2
configure.in (*-pc-msdosdjgpp): Set float_format to none.
...
* configure.in (*-pc-msdosdjgpp): Set float_format to none.
* configure: Rebuilt.
From-SVN: r34004
2000-05-18 17:06:19 -06:00
J. David Anglin
650f30687e
* xmalloc.c: Include config.h for HAVE_SBRK definition.
...
From-SVN: r34003
2000-05-18 16:48:34 -06:00
Chris Demetriou
716081958c
* Makefile.in (hash.h): Delete a redundant use of gawk and sed.
...
From-SVN: r34002
2000-05-18 16:39:58 -06:00
Tom Tromey
46543024bd
Andrew's last commit changed a ChangeLog entry to say that I wrote a patch that Zack wrote.
...
Andrew's last commit changed a ChangeLog entry to
say that I wrote a patch that Zack wrote. Oops.
From-SVN: r34001
2000-05-18 22:37:15 +00:00
Zack Weinberg
1b3459d226
genopinit.c: Use $ for escape sequences in optab patterns.
...
* genopinit.c: Use $ for escape sequences in optab patterns.
Remove backslashes from optab patterns. Change $A, $B, $C to
expand to (int) whatever instead of just whatever; remove
explicit (int) from all optab patterns.
* gensupport.c (xmalloc, xrealloc, xstrdup): Provide.
* genattr.c, genattrtab.c, gencodes.c, genconfig.c, genemit.c,
genextract.c, genflags.c, genopinit.c, genoutput.c, genpeep.c,
genrecog.c: Remove private copies of xmalloc, xrealloc, and
From-SVN: r34000
2000-05-18 22:05:15 +00:00
Jeffrey A Law
606b4c9404
* gcc.c-torture/compile/20000518-1.c: New test.
...
From-SVN: r33999
2000-05-18 16:03:16 -06:00
Richard Henderson
3fe3a08f9a
jump.c (jump_optimize_1): Base minimum insn count during find_cross_jump on BRANCH_COST.
...
* jump.c (jump_optimize_1): Base minimum insn count during
find_cross_jump on BRANCH_COST.
From-SVN: r33998
2000-05-18 14:43:16 -07:00
Jakub Jelinek
21835d9b74
print-rtl.c (print_rtx): Only print note line number as string if between NOTE_INSN_BIAS and NOTE_INSN_MAX.
...
* print-rtl.c (print_rtx): Only print note line number as string
if between NOTE_INSN_BIAS and NOTE_INSN_MAX.
* final.c (final_scan_insn): Do nothing for note line number 0.
From-SVN: r33997
2000-05-18 21:26:57 +02:00
Jakub Jelinek
099049da9b
gcc-common.c (ggc_mark_rtx_children): Mark NOTE_EXPECTED_VALUE from NOTE_INSN_EXPECTED_VALUE notes and...
...
* gcc-common.c (ggc_mark_rtx_children): Mark NOTE_EXPECTED_VALUE
from NOTE_INSN_EXPECTED_VALUE notes and NOTE_SOURCE_FILE from
NOTE_INSN_DELETED_LABEL.
From-SVN: r33996
2000-05-18 21:24:37 +02:00
Nick Clifton
265f5849d7
Place constant...
...
Place constant, uninitialised data in .rodata not .bss, and do not interpret an
error in the initialisation value as meaning that the variable should be
placed in the .bss section.
From-SVN: r33995
2000-05-18 19:00:59 +00:00
Philippe De Muyter
3642ea2fda
configure.in (NO_MINUS_C_MINUS_O): Test $ac_cv_prog_cc_${ac_cc}_c_o', not
$ac_cv_prog_cc_cc_c_o'.
...
* configure.in (NO_MINUS_C_MINUS_O): Test `$ac_cv_prog_cc_${ac_cc}_c_o',
not `$ac_cv_prog_cc_cc_c_o'.
* configure: Regenerated.
From-SVN: r33994
2000-05-18 12:16:53 -06:00
Zack Weinberg
c4e041786a
Add -fno-show-column to avoid dejagnu bug
...
From-SVN: r33993
2000-05-18 17:54:51 +00:00
Chris Demetriou
7aba5a5ff9
c-common.h (enum c_tree_index): Add g77 type entries.
...
* c-common.h (enum c_tree_index): Add g77 type entries.
(g77_integer_type_node, g77_uinteger_type_node): New.
(g77_longint_type_node, g77_ulongint_type_node): New.
* c-decl.c (init_decl_processing): Initialize them.
Co-Authored-By: Richard Henderson <rth@cygnus.com>
From-SVN: r33992
2000-05-18 10:53:04 -07:00
Chris Demetriou
91542396a6
com.h (FFECOM_f2cINTEGER, [...]): Note that these types correspond to built-in types now defined in the C front...
...
* com.h (FFECOM_f2cINTEGER, FFECOM_f2cLONGINT): Note that
these types correspond to built-in types now defined in
the C front end (for libf2c).
From-SVN: r33991
2000-05-18 10:45:30 -07:00
Chris Demetriou
3eb10f8a4f
configure.in: Test for __g77_integer...
...
* configure.in: Test for __g77_integer, __g77_uinteger,
__g77_longint, and __g77_ulongint builtin types, rather
than mucking around with compiler headers.
* configure: Regenerate.
* g2c.hin (integer, logical, flag, ftnlen, ftnint): Use
__g77_integer rather than autoconfigured value.
(uinteger): Use __g77_uinteger rather than autoconfigured value.
(longint): Use __g77_longint rather than autoconfigured value.
(ulongint): Use __g77_ulongint rather than autoconfigured value.
From-SVN: r33990
2000-05-18 10:44:27 -07:00
Tom Tromey
fcd4823055
* lib/libjava.exp (bytecompile_file): Use exec, not system.
...
From-SVN: r33989
2000-05-18 17:17:55 +00:00