gcc.git
23 years agoMakefile.in (integrate.o): Add debug.h.
Richard Kenner [Sun, 15 Jul 2001 16:50:41 +0000 (16:50 +0000)]
Makefile.in (integrate.o): Add debug.h.

* Makefile.in (integrate.o): Add debug.h.
* integrate.c (debug.h): Add.
(output_inline_function): Save, reset, and restore debug_hooks.

From-SVN: r44026

23 years agoalpha.c (alpha_emit_xfloating_compare): Use CCmode instead of COMPARE for the EQUIV...
Richard Henderson [Sun, 15 Jul 2001 15:56:46 +0000 (08:56 -0700)]
alpha.c (alpha_emit_xfloating_compare): Use CCmode instead of COMPARE for the EQUIV expression.

        * config/alpha/alpha.c (alpha_emit_xfloating_compare): Use CCmode
        instead of COMPARE for the EQUIV expression.

From-SVN: r44024

23 years agoflow.c (redirect_edge_and_branch_force): Initialize global_live_at_start and global_l...
Richard Henderson [Sun, 15 Jul 2001 15:47:05 +0000 (08:47 -0700)]
flow.c (redirect_edge_and_branch_force): Initialize global_live_at_start and global_live_at_end.

        * flow.c (redirect_edge_and_branch_force): Initialize
        global_live_at_start and global_live_at_end.
        (allocate_bb_life_data): Export.
        * basic-block.h (allocate_bb_life_data): Declare it.
        * toplev.c (rest_of_compilation): Call it.

From-SVN: r44023

23 years agoalpha.c (alpha_tablejump_addr_vec): New.
Richard Henderson [Sun, 15 Jul 2001 15:38:52 +0000 (08:38 -0700)]
alpha.c (alpha_tablejump_addr_vec): New.

        * config/alpha/alpha.c (alpha_tablejump_addr_vec): New.
        (alpha_tablejump_best_label): New.
        * config/alpha/alpha-protos.h: Declare them.
        * config/alpha/alpha.md: Use braced strings for code blocks.
        (tablejump_osf): Break out add with r29.
        (tablejump_osf_internal): Remove.
        (tablejump_osf_nt_internal): Rename from tablejump_nt_internal,
        use alpha_tablejump_addr_vec and alpha_tablejump_best_label.

From-SVN: r44022

23 years agof90-intrinsic-numeric.f: Fix pasto.
Toon Moene [Sun, 15 Jul 2001 15:30:04 +0000 (15:30 +0000)]
f90-intrinsic-numeric.f: Fix pasto.

2001-01-15  Toon Moene  <toon@moene.indiv.nluug.nl>

* g77.f-torture/execute/f90-intrinsic-numeric.f: Fix pasto.
* g77.f-torture/execute/f90-intrinsic-mathematical.f: Fix pasto.

From-SVN: r44021

23 years agof90-intrinsic-numeric.f: New test.
David Billinghurst [Sun, 15 Jul 2001 12:50:14 +0000 (12:50 +0000)]
f90-intrinsic-numeric.f: New test.

2001-01-15  David Billinghurst <David.Billinghurst@riotinto.com>

* g77.f-torture/execute/f90-intrinsic-numeric.f: New test.
* g77.f-torture/execute/f90-intrinsic-mathematical.f: New test.

From-SVN: r44020

23 years agoloop.c (scan_loop): Add USEs inside PARALLELs into dependencies of the movable.
Jan Hubicka [Sun, 15 Jul 2001 12:00:34 +0000 (14:00 +0200)]
loop.c (scan_loop): Add USEs inside PARALLELs into dependencies of the movable.

* loop.c (scan_loop): Add USEs inside PARALLELs into dependencies
of the movable.

* toplev.c (rest_of_compilation): Allow new pseudoes for mode switching.

* i386-protos.h (ix86_split_fp_branch): Update prototype.
(ix86_fp_jump_nontrivial_p): New.
* i386.md (fp_jcc_?): Update call of split_fp_branch;
use ix86_fp_jump_nontrivial_p.
* i386.c (ix86_fp_jump_nontrivial_p): New.
(ix86_split_fp_branch): Accept code instead of rtx.
(ix86_expand_compare): Expand comparison early in case
doing so is resonably cheap.

From-SVN: r44019

23 years agoAssert 'endian' not 'machine' in endian specs
Nick Clifton [Sun, 15 Jul 2001 10:22:51 +0000 (10:22 +0000)]
Assert 'endian' not 'machine' in endian specs

From-SVN: r44018

23 years agodbxout.c (dbxout_source_line): Make static, update prototype.
Neil Booth [Sun, 15 Jul 2001 08:34:46 +0000 (08:34 +0000)]
dbxout.c (dbxout_source_line): Make static, update prototype.

* dbxout.c (dbxout_source_line): Make static, update prototype.
(dbx_debug_hooks, xcoff_debug_hooks): Add new hooks.
(dbxout_init, dbxout_finish, dbxout_source_line,
dbxout_begin_block, dbxout_end_block): Update for new prototypes.
* dbxout.h (dbxout_source_line): Delete.
* debug.c (debug_nothing_file, debug_nothing_file_int,
debug_nothing_file_charstar_rtx): New.
(do_nothing_debug_hooks): Update.
(debug_nothing_void, debug_nothing_charstar_rtx,
dwarf2out_end_epilogue): New.
(debug_nothing_file_charstar, debug_nothing_file_int_int): Rename.
* debug.h (struct rtx_def): Declare.
(gcc_debug_hooks): New hooks source_line, end_epilogue
and end_function.
(debug_nothing_void, debug_nothing_charstar_rtx,
dwarf2out_end_epilogue): New.
(debug_nothing_file_charstar, debug_nothing_file_int_int): Rename.
* dwarf2out.c (dwarf2out_source_line): Make static, update prototype.
(dwarf2_debug_hooks): Update.
(dwarf2out_init, dwarf2out_finish, dwarf2out_source_line,
dwarf2out_begin_block, dwarf2out_end_block): Update for new prototypes.
* dwarf2out.h (dwarf2out_source_line): Remove.
* dwarfout.c (dwarfout_end_epilogue, dwarfout_end_function):
Make static, update prototype.
(dwarfout_init, dwarfout_finish, dwarfout_source_line,
dwarfout_begin_block, dwarfout_end_block): Update for new prototypes.
(dwarf_debug_hooks): Update.
* dwarfout.h (dwarfout_end_epilogue, dwarfout_source_line,
dwarfout_end_function): Remove.
* final.c (profile_function): Use debug hooks for ending functions
and epilogues.
(output_source_line, final_end_function): Update prototype,
use debug hooks.
(final_start_function, final_scan_insn): Update.
* output.h (sdb_begin_function_line): Remove.
(final_end_function): Update prototype.
* sdbout.c (sdb_begin_function_line): Make static.
(PUT_SDB_EPILOGUE_END): Move to sdbout_end_epilogue.
(sdbout_source_line): New.
(sdbout_end_epilogue, sdbout_end_function): Make static, update
prototypes.
(sdb_debug_hooks): Update.
(sdbout_init, sdbout_source_line,
sdbout_begin_block, sdbout_end_block): Update for new prototypes.
* sdbout.h (sdbout_end_epilogue, sdbout_end_function): Remove.
* toplev.c (compile_file, rest_of_compilation): Update.
* tree.h (dwarf2out_end_epilogue): Move to debug.h.
* xcoffout.c (xcoffout_source_line, xcoffout_begin_block,
xcoffout_end_block, xcoffout_end_epilogue, xcoffout_end_function):
Update for prototype changes.
* xcoffout.h (xcoffout_source_line, xcoffout_begin_block,
xcoffout_end_block, xcoffout_end_epilogue): Update prototypes.

From-SVN: r44017

23 years agoalpha.h (TARGET_ABI_OSF): New.
Richard Henderson [Sun, 15 Jul 2001 07:17:29 +0000 (00:17 -0700)]
alpha.h (TARGET_ABI_OSF): New.

        * config/alpha/alpha.h (TARGET_ABI_OSF): New.
        (TARGET_ABI_WINDOWS_NT, TARGET_ABI_OPEN_VMS): Rename; update users.
        * config/alpha/alpha-protos.h: Update TARGET_ABI_* users.
        * config/alpha/alpha.c: Likewise.
        * config/alpha/alpha.md: Likewise.
        * config/alpha/alpha32.h: Likewise.
        * config/alpha/vms.h: Likewise.
        (OPEN_VMS): Remove.

From-SVN: r44016

23 years agoDaily bump.
GCC Administrator [Sun, 15 Jul 2001 07:16:50 +0000 (07:16 +0000)]
Daily bump.

From-SVN: r44015

23 years agoalpha.md: Use define_constants for unspec values.
Richard Henderson [Sun, 15 Jul 2001 06:25:01 +0000 (23:25 -0700)]
alpha.md: Use define_constants for unspec values.

        * config/alpha/alpha.md: Use define_constants for unspec values.
        Substitute throughout.

From-SVN: r44012

23 years ago* tree.def (EXPON_EXPR) remove. Never supported anyway.
Tim Josling [Sun, 15 Jul 2001 02:16:35 +0000 (02:16 +0000)]
* tree.def (EXPON_EXPR) remove. Never supported anyway.

* f/com.c (ffecom_overlap_): Remove references to EXPON_EXPR.
(ffecom_tree_canonize_ref_): Likewise.

* java/check-init.c (check_init): Remove references to EXPON_EXPR.

From-SVN: r44011

23 years ago* pa.md: Remove unused constraints from define_split's.
John David Anglin [Sun, 15 Jul 2001 00:54:21 +0000 (00:54 +0000)]
* pa.md: Remove unused constraints from define_split's.

From-SVN: r44010

23 years ago* ifcvt.c (find_cond_trap): Test for exit block.
Richard Henderson [Sun, 15 Jul 2001 00:00:56 +0000 (17:00 -0700)]
* ifcvt.c (find_cond_trap): Test for exit block.

From-SVN: r44009

23 years agoRe-install recently reverted patch.
Jan Hubicka [Sat, 14 Jul 2001 22:52:50 +0000 (00:52 +0200)]
Re-install recently reverted patch.

* emit-rtl.c (try_split): Update mark_jump_label call.
* flow.c (find_sub_basic_blocks): Likewise.
* jump.c (cross_jump_death_matters, find_cross_jump, do_cross_jump,
jump_back_p): Kill.
(mark_all_labels): Kill second parameter.
(jump_optimize, jump_optimize_1): Kill cross_jump parameter.
(rebuild_jump_labels, jump_optimize_minimal): Update call
of jump_optimize_1.
(jump_optimize_1): Kill crossjumping code.
(mark_jump_label): Kill cross_jump parameter.
* rtl.h (mark_jump_label, jump_optimize): Update prototypes.
(JUMP_CROSS_JUMP, JUMP_CROSS_JUMP_DEATH_MATTERS): Kill.
* reg-stack.c (reg_to_stack): Do not rebuild if not needed; do
 splitting.
* toplev.c (enum dump_file_index): Kill DFI_jump2; put DFI_stack before
DFI_bpro.
(dump_file_info): Likewise.
(rest_of_compilation): Update calls to jump_optimize; kill jump2 pass;
reorganize passes to do reg-stack first, bb-reorder second.
* invoke.texi (-d letters doc): Remove the jump2 pass.

From-SVN: r44008

23 years agoifcvt.c (find_cond_trap): New.
Richard Henderson [Sat, 14 Jul 2001 18:39:16 +0000 (11:39 -0700)]
ifcvt.c (find_cond_trap): New.

        * ifcvt.c (find_cond_trap): New.
        (find_if_header): Call it.
        (merge_if_block): Relax existing jump sanity check.
        * jump.c (jump_optimize_1): Remove conditional trap handling.

* gcc.dg/iftrap-1.c: New.

From-SVN: r44006

23 years agoDaily bump.
GCC Administrator [Sat, 14 Jul 2001 07:16:10 +0000 (07:16 +0000)]
Daily bump.

From-SVN: r44004

23 years agopa.c (emit_hpdiv_const): Return reg is r2 for 64-bit millicode.
Alan Modra [Sat, 14 Jul 2001 02:39:39 +0000 (02:39 +0000)]
pa.c (emit_hpdiv_const): Return reg is r2 for 64-bit millicode.

* config/pa/pa.c (emit_hpdiv_const): Return reg is r2 for 64-bit
millicode.
(insn_refs_are_delayed): Correct comment.
* config/pa/pa.h (INSN_REFERENCES_ARE_DELAYED): Likewise.
* config/pa/pa.md (mulsi3): If TARGET_64BIT, clobber r2
instead of r31.  Make associated insn !TARGET_64BIT, and
provide an additional 64-bit insn that clobbers r2.
(divsi3): Likewise.
(udivsi3): Likewise.
(modsi3): Likewise.
(umodsi3): Likewise.

From-SVN: r44003

23 years agobb-reorder.c (skip_insn_after_block): Get past the line number notes.
Jan Hubicka [Sat, 14 Jul 2001 01:06:42 +0000 (03:06 +0200)]
bb-reorder.c (skip_insn_after_block): Get past the line number notes.

* bb-reorder.c (skip_insn_after_block): Get past the line number notes.

* flow.c (redirect_edge_and_branch_force, split_edge,
try_crossjump_to_edge): Use set_block_for_new_insns.
* bb-reorder.c (emit_jump_to_block_after): Call set_block_for_new_insns.

From-SVN: r44002

23 years agoelfos.h (UNIQUE_SECTION): Enable .bss section with the correct patch.
H.J. Lu [Fri, 13 Jul 2001 23:33:37 +0000 (23:33 +0000)]
elfos.h (UNIQUE_SECTION): Enable .bss section with the correct patch.

2001-07-13  H.J. Lu  (hjl@gnu.org)

* config/elfos.h (UNIQUE_SECTION): Enable .bss section with
the correct patch.

From-SVN: r44001

23 years agojvspec.c (jvgenmain_spec): Remove -ffilelist-file from cc1 invocation.
Tom Tromey [Fri, 13 Jul 2001 23:17:41 +0000 (23:17 +0000)]
jvspec.c (jvgenmain_spec): Remove -ffilelist-file from cc1 invocation.

* jvspec.c (jvgenmain_spec): Remove -ffilelist-file from cc1
invocation.

From-SVN: r44000

23 years agoRevert H.J. Lu's UNIQUE_SECTION patch of 2001-07-13.
Geoffrey Keating [Fri, 13 Jul 2001 21:55:10 +0000 (21:55 +0000)]
Revert H.J. Lu's UNIQUE_SECTION patch of 2001-07-13.

From-SVN: r43998

23 years agostd_sstream.h (basic_stringbuf::basic_stringbuf(string): Initialize _M_string with...
Phil Edwards [Fri, 13 Jul 2001 20:50:03 +0000 (20:50 +0000)]
std_sstream.h (basic_stringbuf::basic_stringbuf(string): Initialize _M_string with pointer-and-size constructor, not just pointer.

2001-07-13  Phil Edwards  <pme@sources.redhat.com>

* include/bits/std_sstream.h (basic_stringbuf::basic_stringbuf(string):
Initialize _M_string with pointer-and-size constructor, not just
pointer.  Fix some comments.
* testsuite/21_strings/ctor_copy_dtor.cc (test03):  New test.
* testsuite/27_io/stringbuf.cc (test02):  Remove unused variable.
(test03):  Add embedded-NUL tests.

* mkcheck.in:  When printing totals, match the order of the tests.
* include/bits/stringfwd.h:  Use same declaration keywords.
* include/bits/std_iosfwd.h:  Cosmetic spacing.

From-SVN: r43996

23 years agoc-common.c (decl_attributes): Take a pointer to the node to which attributes are...
Joseph Myers [Fri, 13 Jul 2001 20:40:43 +0000 (21:40 +0100)]
c-common.c (decl_attributes): Take a pointer to the node to which attributes are to be attached...

* c-common.c (decl_attributes): Take a pointer to the node to
which attributes are to be attached, and a flags argument.
* c-common.h (enum attribute_flags): New.
(decl_attributes): Update prototype.
* c-decl.c (start_decl, push_parm_decl, finish_struct,
finish_enum, start_function): Update calls to decl_attributes.
* c-parse.in (component_declarator, component_notype_declarator,
label): Update calls to decl_attributes.

cp:
* decl2.c (cplus_decl_attributes): Take a pointer to the node to
which attributes are to be attached, and a flags argument.  Update
call to decl_attributes.
(grokfield): Update call to decl_attributes.
* class.c (finish_struct): Update call to cplus_decl_attributes.
* cp-tree.h (cplus_decl_attributes): Update prototype.
* decl.c (start_decl, grokdeclarator, start_function): Update
calls to decl_attributes and cplus_decl_attributes.
* friend.c (do_friend): Update call to cplus_decl_attributes.
* parse.y (parse_bitfield): Update call to cplus_decl_attributes.

From-SVN: r43995

23 years agoanon_ctor_itf_arg.java: Moved to `libjava.lang.'
Alexandre Petit-Bianco [Fri, 13 Jul 2001 19:45:05 +0000 (12:45 -0700)]
anon_ctor_itf_arg.java: Moved to `libjava.lang.'

2001-07-12  Alexandre Petit-Bianco  <apbianco@redhat.com>

* libjava.compile/anon_ctor_itf_arg.java: Moved to `libjava.lang.'
* libjava.compile/anon_ctor_itf_arg.out: Likewise
* libjava.lang/invoke_from_inner.java: New file.
* libjava.lang/invoke_from_inner.out: Likewise.

(http://gcc.gnu.org/ml/java-patches/2001-q3/msg00061.html )

From-SVN: r43994

23 years agore PR java/3635 ("empty declaration" warning too broad)
Alexandre Petit-Bianco [Fri, 13 Jul 2001 19:43:54 +0000 (12:43 -0700)]
re PR java/3635 ("empty declaration" warning too broad)

2001-07-12  Alexandre Petit-Bianco  <apbianco@redhat.com>

* parse.y (patch_method_invocation): Don't override primary if one
is already provided, but let this$<n> be built. Fixed comment.

2001-07-12  Alexandre Petit-Bianco  <apbianco@redhat.com>

* parse.y (empty_statement:): Report empty statement error only
when found at class declaration level.
Fixes PR java/3635

(http://gcc.gnu.org/ml/gcc-patches/2001-07/msg00885.html )

From-SVN: r43993

23 years agoavr.md (strlenhi): PARALLEL keyword removed.
Denis Chertykov [Fri, 13 Jul 2001 19:13:55 +0000 (19:13 +0000)]
avr.md (strlenhi): PARALLEL keyword removed.

* config/avr/avr.md (strlenhi): PARALLEL keyword removed.
* config/avr/avr.c (legitimate_address_p): Return value changed
from letter to register classes. For better debugging.

From-SVN: r43992

23 years agojump.c (reversed_comparison_code_parts): Fix comment typos.
Kazu Hirata [Fri, 13 Jul 2001 18:32:30 +0000 (18:32 +0000)]
jump.c (reversed_comparison_code_parts): Fix comment typos.

2001-07-13  Kazu Hirata  <kazu@hxi.com>

* jump.c (reversed_comparison_code_parts): Fix comment typos.

From-SVN: r43990

23 years agoelfos.h (UNIQUE_SECTION): Enable .bss section.
H.J. Lu [Fri, 13 Jul 2001 18:28:10 +0000 (18:28 +0000)]
elfos.h (UNIQUE_SECTION): Enable .bss section.

2001-07-13  H.J. Lu  (hjl@gnu.org)

* config/elfos.h (UNIQUE_SECTION): Enable .bss section.

From-SVN: r43989

23 years agoconfig.gcc (*-*-openbsd*): Add fragment to compile libgcc correctly for shared config...
Marc Espie [Fri, 13 Jul 2001 18:12:22 +0000 (18:12 +0000)]
config.gcc (*-*-openbsd*): Add fragment to compile libgcc correctly for shared configurations.

2001-07-13  Marc Espie  <espie@cvs.openbsd.org>

* config.gcc (*-*-openbsd*):  Add fragment to compile libgcc
correctly for shared configurations.
* config/t-libgcc-pic:  New.
* config/{i386,m68k,sparc}/t-openbsd:  New.
* config/openbsd.h:  Include cpu_spec in cpp_spec where needed.
Support -shared.  Support debugging libraries with -g.
* config/i386/openbsd.h:  Correct ASM_COMMENT_START.  Ensure dwarf2
frame information does not emit pointer diffs.
* config/sparc/openbsd.h:  Ensure dwarf2 frame information does not
emit pointer diffs.

From-SVN: r43988

23 years agoRevert Jan Hubicka's patch of Fri Jul 13 14:46:21 CEST 2001.
Geoffrey Keating [Fri, 13 Jul 2001 17:24:48 +0000 (17:24 +0000)]
Revert Jan Hubicka's patch of Fri Jul 13 14:46:21 CEST 2001.

From-SVN: r43986

23 years agoMakefile.am: New file encapsulating header generation rules.
Stephen M. Webb [Fri, 13 Jul 2001 16:47:56 +0000 (16:47 +0000)]
Makefile.am: New file encapsulating header generation rules.

2001-07-13  Stephen M. Webb  <stephen@bregmasoft.com>
            Loren J. Rittle  <ljrittle@acm.org>
            Phil Edwards  <pme@sources.redhat.com>

* include/Makefile.am:  New file encapsulating header generation rules.
* Makefile.am (SUBDIRS):  Prepend 'include' directory.
* acinclude.m4:  Moved/removed rules for building various headers.
* configure.in (AC_OUTPUT):  Add include/Makefile.
* mkc++config:  Removed.

* testsuite_flags.in:  Changed build-includes to match new scheme.
* mknumeric_limits:  Likewise.
* libio/Makefile.am:  Changed INCLUDES to maatch new header scheme.
* libmath/Makefile.am:  Likewise.
* libsupc++/Makefile.am:  Likewise.
* src/Makefile.am:  Likewise; removed rules to build headers.
* libmath/mathconf.h:  Changed #include'd header names to match.
* libmath/stubs.c:  Likewise.
* src/gen-num-limits.cc:  Likewise.

* configure:  Regenerated.
* config.h.in:  Regenerated.
* aclocal.m4:  Regenerated.
* Makefile.in:  Regenerated.
* include/Makefile.in:  Regenerated.
* libio/Makefile.in:  Regenerated.
* libmath/Makefile.in:  Regenerated.
* libsupc++/Makefile.in:  Regenerated.
* src/Makefile.in:  Regenerated.
* testsuite/Makefile.in:  Regenerated.

Co-Authored-By: Loren J. Rittle <ljrittle@acm.org>
Co-Authored-By: Phil Edwards <pme@gcc.gnu.org>
From-SVN: r43985

23 years ago* combine.c (try_combine): Ensure const_int pow2 is positive.
David Edelsohn [Fri, 13 Jul 2001 15:05:51 +0000 (15:05 +0000)]
* combine.c (try_combine): Ensure const_int pow2 is positive.

From-SVN: r43983

23 years agoAdded myself in the list of people who can write to CVS after approval
Nicola Pero [Fri, 13 Jul 2001 13:33:23 +0000 (13:33 +0000)]
Added myself in the list of people who can write to CVS after approval

From-SVN: r43982

23 years agoconfig.gcc: Add configuration for s/390.
Hartmut Penner [Fri, 13 Jul 2001 13:11:59 +0000 (13:11 +0000)]
config.gcc: Add configuration for s/390.

* config.gcc: Add configuration for s/390.
* Changelog: Add s/390.

From-SVN: r43981

23 years agos390.c: New.
Hartmut Penner [Fri, 13 Jul 2001 13:10:42 +0000 (13:10 +0000)]
s390.c: New.

        * config/s390/s390.c: New. Subroutines for code generation.
        * config/s390/s390.h: New. Definitions for s/390.
        * config/s390/s390-protos.h: New. Prototypes.
        * config/s390/linux.h: New. Definitions for linux for s/390.
        * config/s390/linux64.h: New. Definitions for linux for zSeries.
        * config/s390/t-linux: New. Makefile fragment.
        * config/s390/s390.md: New. Machine description for s/390 and zSeries.
        * config/s390/fixdfdi.h: New. Fix L_fix*di.
---------------------------------------------------------------------

From-SVN: r43980

23 years agoemit-rtl.c (try_split): Update mark_jump_label call.
Jan Hubicka [Fri, 13 Jul 2001 12:55:15 +0000 (14:55 +0200)]
emit-rtl.c (try_split): Update mark_jump_label call.

* emit-rtl.c (try_split): Update mark_jump_label call.
* flow.c (find_sub_basic_blocks): Likewise.
* jump.c (cross_jump_death_matters, find_cross_jump, do_cross_jump,
jump_back_p): Kill.
(mark_all_labels): Kill second parameter.
(jump_optimize, jump_optimize_1): Kill cross_jump parameter.
(rebuild_jump_labels, jump_optimize_minimal): Update call
of jump_optimize_1.
(jump_optimize_1): Kill crossjumping code.
(mark_jump_label): Kill cross_jump parameter.
* rtl.h (mark_jump_label, jump_optimize): Update prototypes.
(JUMP_CROSS_JUMP, JUMP_CROSS_JUMP_DEATH_MATTERS): Kill.
* reg-stack.c (reg_to_stack): Do not rebuild if not needed; do
 splitting.
* toplev.c (enum dump_file_index): Kill DFI_jump2; put DFI_stack before
DFI_bpro.
(rest_of_compilation): Update calls to jump_optimize; kill jump2 pass;
reorganize passes to do reg-stack first, bb-reorder second.
* invoke.texi (-d letters doc): Remove the jump2 pass.

From-SVN: r43979

23 years agoDaily bump.
GCC Administrator [Fri, 13 Jul 2001 07:16:46 +0000 (07:16 +0000)]
Daily bump.

From-SVN: r43977

23 years agore PR libgcj/3426 (java.io.InputStreamReader, infinite loop)
Tom Tromey [Fri, 13 Jul 2001 05:41:28 +0000 (05:41 +0000)]
re PR libgcj/3426 (java.io.InputStreamReader, infinite loop)

Fix for PR libgcj/3426:
* gnu/gcj/convert/natIconv.cc: Include CharConversionException.h,
errno.h.
(read): Throw exception if character conversion fails.
* java/io/BufferedInputStream.java (refill): Now package-private.
* java/io/InputStreamReader.java (ready): Simplified.
(refill): New method.
(read): Use it.

Co-Authored-By: David Brownell <david-b@pacbell.net>
From-SVN: r43975

23 years agoanon_ctor_itf_arg.java: New file.
Alexandre Petit-Bianco [Thu, 12 Jul 2001 21:39:56 +0000 (14:39 -0700)]
anon_ctor_itf_arg.java: New file.

2001-07-12  Alexandre Petit-Bianco  <apbianco@redhat.com>

* libjava.compile/anon_ctor_itf_arg.java: New file.
* libjava.compile/anon_ctor_itf_arg.out: New file.

(http://gcc.gnu.org/ml/java-patches/2001-q3/msg00059.html)

From-SVN: r43974

23 years agore PR java/3285 (gcj fails to resolve constructor calls in inner classes)
Alexandre Petit-Bianco [Thu, 12 Jul 2001 21:36:43 +0000 (14:36 -0700)]
re PR java/3285 (gcj fails to resolve constructor calls in inner classes)

2001-07-11  Alexandre Petit-Bianco  <apbianco@redhat.com>

* parse.y (verify_constructor_super): Compare anonymous class ctor
args with `valid_method_invocation_conversion_p.'
Fixes PR java/3285

(http://gcc.gnu.org/ml/gcc-patches/2001-07/msg00823.html)

From-SVN: r43973

23 years ago* toplev.c (compile_file): Put call of ASM_FILE_START inside ifdef.
Steve Ellcey [Thu, 12 Jul 2001 20:58:30 +0000 (20:58 +0000)]
* toplev.c (compile_file): Put call of ASM_FILE_START inside ifdef.

From-SVN: r43972

23 years agoconfigure.in (noconfigdirs): Don't compile libiberty, libstdcxx and libgcj on m68hc11...
Stephane Carrez [Thu, 12 Jul 2001 17:49:04 +0000 (19:49 +0200)]
configure.in (noconfigdirs): Don't compile libiberty, libstdcxx and libgcj on m68hc11/m68hc12.

* configure.in (noconfigdirs): Don't compile libiberty, libstdcxx
and libgcj on m68hc11/m68hc12.

From-SVN: r43970

23 years agoexpr.c (expand_load_internal): New function.
Tom Tromey [Thu, 12 Jul 2001 17:06:40 +0000 (17:06 +0000)]
expr.c (expand_load_internal): New function.

* expr.c (expand_load_internal): New function.
(LOAD_INTERNAL): Use it.

From-SVN: r43969

23 years ago* libjava.lang/N19990310_4.xfail: Removed.
Tom Tromey [Thu, 12 Jul 2001 17:06:33 +0000 (17:06 +0000)]
* libjava.lang/N19990310_4.xfail: Removed.

From-SVN: r43968

23 years agoflow.c (try_optimize_cfg): Delete whole chain of trivially dead basic blocks.
Jan Hubicka [Thu, 12 Jul 2001 16:01:33 +0000 (18:01 +0200)]
flow.c (try_optimize_cfg): Delete whole chain of trivially dead basic blocks.

* flow.c (try_optimize_cfg): Delete whole chain of trivially dead
basic blocks.
(verify_flow_info): Make diagnostics prettier.

From-SVN: r43967

23 years agoReport from Henner Zeller:
Tom Tromey [Thu, 12 Jul 2001 15:37:43 +0000 (15:37 +0000)]
Report from Henner Zeller:

* java/io/FileOutputStream.java (FileOutputStream): Throw
FileNotFoundException, not IOException.

From-SVN: r43966

23 years agoflow.c (find_basic_blocks_1): Do not emit NOP after call.
Jan Hubicka [Thu, 12 Jul 2001 14:52:51 +0000 (16:52 +0200)]
flow.c (find_basic_blocks_1): Do not emit NOP after call.

* flow.c (find_basic_blocks_1): Do not emit NOP after call.

* flow.c (outgoing_edges_match): Return early if condition reversal
failed.

From-SVN: r43965

23 years agomips.c (print_operand): Extend '%D' to memory operands.
Richard Sandiford [Thu, 12 Jul 2001 08:53:02 +0000 (08:53 +0000)]
mips.c (print_operand): Extend '%D' to memory operands.

* config/mips/mips.c (print_operand): Extend '%D' to memory operands.
(mips_move_2words): When splitting a move into two instructions,
prefix the second address operand with '%D'.

From-SVN: r43964

23 years agodecl.c (make_rtl_for_nonlocal_decl): Set DECL_C_HARD_REGISTER for `register' variable...
Mark Mitchell [Thu, 12 Jul 2001 07:50:58 +0000 (07:50 +0000)]
decl.c (make_rtl_for_nonlocal_decl): Set DECL_C_HARD_REGISTER for `register' variables with an asm-specification.

* decl.c (make_rtl_for_nonlocal_decl): Set DECL_C_HARD_REGISTER
for `register' variables with an asm-specification.

From-SVN: r43963

23 years agoDaily bump.
GCC Administrator [Thu, 12 Jul 2001 07:16:24 +0000 (07:16 +0000)]
Daily bump.

From-SVN: r43960

23 years agoMakefile.in (final.o): Depend on debug.h.
Neil Booth [Thu, 12 Jul 2001 05:56:27 +0000 (05:56 +0000)]
Makefile.in (final.o): Depend on debug.h.

* Makefile.in (final.o): Depend on debug.h.
* dbxout.c (dbxout_begin_block, dbxout_end_block): New.
(dbx_debug_hooks): Add new hooks.
(xcoff_debug_hooks): New.
* debug.c (debug_nothing_file_int_int): New.
(do_nothing_debug_hooks): Update.
* debug.h (gcc_debug_hooks): New hooks begin_block and end_block.
(debug_nothing_file_int_int): New.
* dwarf2out.c (dwarf2out_begin_block, dwarf2out_end_block): Make
static, update prototype.
(dwarf2_debug_hooks): Update.
* dwarf2out.h (dwarf2out_begin_block, dwarf2out_end_block): Remove.
* dwarfout.c (dwarfout_begin_block, dwarfout_end_block): Make
static, update prototype.
(dwarf_debug_hooks): Update.
* dwarfout.h (dwarfout_begin_block, dwarfout_end_block): Remove.
* final.c: Include debug.h.
(final_scan_insn): Use debug hooks when beginning and ending blocks.
* sdbout.c (sdbout_begin_block, sdbout_end_block): Make
static, update prototype.
(sdb_debug_hooks): Update.
* sdbout.h (sdbout_begin_block, sdbout_end_block): Remove.
* toplev.c: Distinguish between xcoff and dbx.

* f/lex.c (ffelex_file_pop_, ffelex_file_push_, ffelex_hash_):
Call all debug hooks, not just dwarf ones.

From-SVN: r43959

23 years agoia64-aix port from Tim Wall
Timothy Wall [Thu, 12 Jul 2001 02:55:24 +0000 (02:55 +0000)]
ia64-aix port from Tim Wall

ia64-aix port from Tim Wall
        * config.gcc: Add configuration for AIX5/IA64.
        * config/ia64/aix.h: New.  AIX5/IA64-specific configuration.
        * config/ia64/crt[in].asm: New.  Generic static ctor/dtor
support prefix/suffix code.
        * config/ia64/t-aix: New.  Makefile fragment.
        * config/ia64/unwind-aix.c: New.  Unwind table entry lookup.

From-SVN: r43958

23 years agorecog.c (validate_change): Fix a comment typo.
Kazu Hirata [Thu, 12 Jul 2001 01:36:16 +0000 (01:36 +0000)]
recog.c (validate_change): Fix a comment typo.

2001-07-11  Kazu Hirata  <kazu@hxi.com>

* recog.c (validate_change): Fix a comment typo.

From-SVN: r43956

23 years agoporting-howto.xml: Initial checkin of master copy.
Felix Natter [Thu, 12 Jul 2001 00:02:34 +0000 (00:02 +0000)]
porting-howto.xml: Initial checkin of master copy.

2001-07-11   Felix Natter  <fnatter@gmx.net>

* docs/html/17_intro/porting-howto.xml:  Initial checkin of
master copy.
* docs/html/17_intro/porting-howto.html:  check in v0.9.3

From-SVN: r43953

23 years agoMakefile.in (c-lex.o): Wrap long lines.
Neil Booth [Wed, 11 Jul 2001 20:51:46 +0000 (20:51 +0000)]
Makefile.in (c-lex.o): Wrap long lines.

* Makefile.in (c-lex.o): Wrap long lines.  Depend on debug.h.
* c-lex.c (cb_file_change, cb_define, cb_undef): Use debug
hooks directly.
* dbxout.c (dbx_debug_hooks): Add new hooks.
(dbxout_start_new_source_file): Rename dbxout_start_source_file,
make static.
(dbxout_resume_previous_source_file): Rename dbxout_end_source_file,
make static.
* dbxout.h (dbxout_start_new_source_file,
dbxout_resume_previous_source_file): Delete.
* debug.c (do_nothing_debug_hooks): Add new hooks.
(debug_nothing_init_finish): Rename debug_nothing_file_charstar.
(debug_nothing_int_charstar, debug_nothing_int): New.
* debug.h (gcc_debug_hooks): New hooks define, undef,
start_source_file and end_source_file.
(debug_nothing_init_finish): Rename debug_nothing_file_charstar.
(debug_nothing_int_charstar, debug_nothing_int): New.
* dwarf2out.c (dwarf2_debug_hooks): Add new hooks.
(dwarf2out_start_source_file, dwarf2out_end_source_file,
dwarf2out_define, dwarf2out_undef): Make static.
* dwarf2out.h (dwarf2out_start_source_file, dwarf2out_end_source_file,
dwarf2out_define, dwarf2out_undef): Remove.
* dwarfout.c (dwarf_debug_hooks): Add new hooks.
(dwarfout_start_source_file, dwarfout_end_source_file,
dwarfout_define, dwarfout_undef): Make static.
(dwarfout_start_source_file_check,
dwarfout_end_source_file_check): New.
(dwarfout_define, dwarfout_finish): Update.
* dwarfout.h (dwarfout_start_new_source_file,
dwarfout_resume_previous_source_file, dwarfout_define,
dwarfout_undef): Remove.
* sdbout.c (sdb_debug_hooks): Add new hooks.
(sdbout_start_new_source_file): Rename sdbout_start_source_file,
make static.
(sdbout_resume_previous_source_file): Rename sdbout_end_source_file,
make static, take an arg.
* sdbout.h (sdbout_start_new_source_file,
sdbout_resume_previous_source_file): Delete.
* toplev.c (debug_start_source_file, debug_end_source_file,
debug_define, debug_undef): Delete.
* toplev.h (debug_start_source_file, debug_end_source_file,
debug_define, debug_undef): Delete.

* java/jcf-parse.c: Include debug.h.
(parse_class_file): Update to use debug hooks directly.
* java/Make-lang.in (jcf-parse.o): Depend on debug.h.

From-SVN: r43952

23 years agoalias.c (set_mem_alias_set): New function.
Richard Kenner [Wed, 11 Jul 2001 20:35:55 +0000 (20:35 +0000)]
alias.c (set_mem_alias_set): New function.

* alias.c (set_mem_alias_set): New function.
* rtl.h (set_mem_alias_set): Declare it.
* builtins.c (expand_builtin_return_addr): Call it instead of
using MEM_ALIAS_SET accessor.
(expand_builtin_setjmp_setup, expand_builtin_longjmp): Likewise.
(get_memory_rtx, expand_builtin_va_arg): Likewise.
(expand_builtin_va_copy):Likewise.
* caller-save.c (setup_save_areas): Likewise.
* calls.c (compute_argument_addresses): Likewise.
* explow.c (set_mem_attributes): Likewise.
* expr.c (emit_single_push_insn, emit_push_insn): Likewise.
(expand_assignment, store_constructor_field, store_field): Likewise.
(expand_expr_unaligned): Likewise.
* function.c (assign_stack_temp_for_type): Likewise.
(put_reg_into_stack, gen_mem_addressof): Likewise.
* ifcvt.c (noce_try_cmove_arith): Likewise.
* reload1.c (reload, alter_reg): Likewise.
* config/alpha/alpha.c (get_aligned_mem): Likewise.
(alpha_set_memflags_1, alpha_expand_unaligned_load): Likewise.
(alpha_expand_unaligned_store): Likewise
(alpha_expand_unaligned_load_words): Likewise.
(alpha_expand_unaligned_store_words): Likewise.
(alpha_expand_block_clear, alpha_expand_prologue): Likewise.
(alpha_expand_epilogue): Likewise.
* config/arc/arc.c (arc_setup_incoming_varargs): Likewise.
* config/clipper/clipper.c (clipper_builtin_saveregs): Likewise.
* config/i386/i386.c (legitimize_pic_address): Likewise.
* config/i960/i960.c (setup_incoming_varargs): Likewise.
* config/ia64/ia64.c (spill_restore_mem): Likewise.
* config/m32r/m32r.c (m32r_setup_incoming_varargs): Likewise.
* config/m8k/m88k.c (m88k_builtin_saveregs): Likewise.
* config/mips/mips.c (mips_va_arg): Likewise.
* config/mn10300/mn10300.c (mn10300_builtin_saveregs): Likewise.
* config/pa/pa.c (hppa_builtin_saveregs): Likewise.
* config/rs6000/rs6000.c (rs6000_emit_move): Likewise.
(setup_incoming_varargs, rs6000_va_arg): Likewise.
(rs6000_emit_eh_toc_restore, rs6000_emit_prologue): Likewise.
(rs6000_emit_epilogue): Likewise.
* config/sh/sh.c (sh_builtin_saveregs): Likewise.
* config/sparc/sparc.c (sparc_va_arg): Likewise.
* config/v850/v850.c (v850_va_arg): Likewise.

From-SVN: r43951

23 years agoflow.c (merge_blocks_move_successor_nojumps): Do not crash when fallthru edge is...
Jan Hubicka [Wed, 11 Jul 2001 19:42:35 +0000 (21:42 +0200)]
flow.c (merge_blocks_move_successor_nojumps): Do not crash when fallthru edge is present.

* flow.c (merge_blocks_move_successor_nojumps): Do not crash
when fallthru edge is present.
(mege_blocks): Handle case where creation of jump insn
is required.

* basic-block.h (CLEANUP_EXPENSIVE, CLEANUP_CROSSJUMP,
CLEANUP_POST_REGSTACK): New constants.
* except.c (finish_eh_generation): Update call of cleanup_cfg,
* jump.c (rtx_renumbered_equal_p): Handle 't' fields.
* output.h (cleanup_cfg): Update prototype.
* reg-stack.c (reg_to_stack): Use cleanup_cfg instead of jump_optimize
* sibcall.c (optimize_sibling_and_tail_recursive_call): Update
cleanup_cfg call; kill missleading comment.
* toplev.c (rest_of_compilation): Update all cleanup_cfg calls.
* flow.c (merge_blocks, try_optimize_cfg, cleanup_cfg): Accept mode
parameter; control optimizations performed using it.
(flow_find_cross_jump, outgoing_edges_match, try_crossjump_to_edge,
try_crossjump_bb): New functions.

From-SVN: r43950

23 years agorun_doxygen: Don't keep output from previous run.
Phil Edwards [Wed, 11 Jul 2001 19:35:49 +0000 (19:35 +0000)]
run_doxygen: Don't keep output from previous run.

2001-07-11  Phil Edwards  <pme@sources.redhat.com>

* docs/doxygen/run_doxygen:  Don't keep output from previous run.
* docs/doxygen/user.cfg.in:  Tweaks.
* include/bits/c++config:  Documentation comments for Doxygen.
* include/bits/char_traits.h:  Likewise.
* include/bits/limits_generic.h:  Likewise.
* include/bits/std_stdexcept.h:  Likewise.
* include/bits/stl_pair.h:  Likewise.
* libsupc++/exception:  Likewise.
* libsupc++/new:  Likewise.
* libsupc++/typeinfo:  Likewise.
* libmath/Makefile.am:  Update and correct copyright.

From-SVN: r43948

23 years agopa.c (pa_output_function_prologue): Delete prototype.
John David Anglin [Wed, 11 Jul 2001 19:21:40 +0000 (19:21 +0000)]
pa.c (pa_output_function_prologue): Delete prototype.

* pa.c (pa_output_function_prologue): Delete prototype.  Make function
extern.
* pa.h (ASM_OUTPUT_MI_THUNK): Rename output_function_prologue to
pa_output_function_prologue.
* pa-protos.h (pa_output_function_prologue): New prototype.

From-SVN: r43947

23 years agointrinsic77.f: New test.
David Billinghurst [Wed, 11 Jul 2001 19:00:48 +0000 (19:00 +0000)]
intrinsic77.f: New test.

2001-07-11  David Billinghurst <David.Billinghurst@riotinto.com>

* g77.f-torture/execute/intrinsic77.f: New test.

From-SVN: r43946

23 years agostmt.c (emit_case_nodes): Widen high and low instead of new_bound and low to get...
John David Anglin [Wed, 11 Jul 2001 18:36:38 +0000 (18:36 +0000)]
stmt.c (emit_case_nodes): Widen high and low instead of new_bound and low to get correct sign extension...

* stmt.c (emit_case_nodes): Widen high and low instead of new_bound
and low to get correct sign extension in low+high test.

From-SVN: r43945

23 years agogcov.c (arcdata): Use gcov_type to fix branch percentage for large hit count.
Janis Johnson [Wed, 11 Jul 2001 17:42:47 +0000 (17:42 +0000)]
gcov.c (arcdata): Use gcov_type to fix branch percentage for large hit count.

        * gcov.c (arcdata): Use gcov_type to fix branch percentage
        for large hit count.

From-SVN: r43944

23 years ago* gcc.misc-tests/gcov-3.c: New test.
Janis Johnson [Wed, 11 Jul 2001 17:38:53 +0000 (17:38 +0000)]
* gcc.misc-tests/gcov-3.c: New test.

From-SVN: r43943

23 years agoprofile.c (branch_prob): Fix .bbg info for computed gotos and C++ EH code.
Janis Johnson [Wed, 11 Jul 2001 17:36:50 +0000 (17:36 +0000)]
profile.c (branch_prob): Fix .bbg info for computed gotos and C++ EH code.

        * profile.c (branch_prob): Fix .bbg info for computed gotos
        and C++ EH code.

From-SVN: r43942

23 years agostmt.c (parse_output_constraint): New function, split out from ...
Mark Mitchell [Wed, 11 Jul 2001 17:35:56 +0000 (17:35 +0000)]
stmt.c (parse_output_constraint): New function, split out from ...

* stmt.c (parse_output_constraint): New function, split out
from ...
(expand_asm_operands): ... here.  Use parse_output_constraint.
* tree.h (parse_output_constraint): Declare it.

* semantics.c (finish_asm_stmt): Mark the output operands
to an asm addressable, if necessary.

From-SVN: r43941

23 years agobitmap.c: Comment some functions; fiddle whitespace.
Richard Henderson [Wed, 11 Jul 2001 17:34:48 +0000 (10:34 -0700)]
bitmap.c: Comment some functions; fiddle whitespace.

        * bitmap.c: Comment some functions; fiddle whitespace.
        (bitmap_free): Don't export.
        (bitmap_element_allocate): Use memset.
        * bitmap.h (bitmap_free): Don't declare.

From-SVN: r43940

23 years agogcse.c, [...]: s/free on sbitmap vectors/sbitmap_vector_free on sbitmap vectors/g
Daniel Berlin [Wed, 11 Jul 2001 16:11:47 +0000 (16:11 +0000)]
gcse.c, [...]: s/free on sbitmap vectors/sbitmap_vector_free on sbitmap vectors/g

        * gcse.c, lcm.c, sched-deps.c:
        s/free on sbitmap vectors/sbitmap_vector_free on sbitmap vectors/g

        * flow.c (flow_loops_find): Free dom if we found no loops, since
        we aren't going to save it.

        * lcm.c (pre_edge_rev_lcm): Free st_antin, st_antout when we are
        done.

From-SVN: r43938

23 years ago* ssa-ccp.c (ssa_fast_dce): Free worklist when completed.
Jeffrey A Law [Wed, 11 Jul 2001 14:58:54 +0000 (14:58 +0000)]
* ssa-ccp.c (ssa_fast_dce): Free worklist when completed.

From-SVN: r43937

23 years agodwarf2out.c (dwarf2out_init, [...]): Add dummy version #ifndef DWARF2_DEBUGGING_INFO.
Richard Kenner [Wed, 11 Jul 2001 14:04:27 +0000 (14:04 +0000)]
dwarf2out.c (dwarf2out_init, [...]): Add dummy version #ifndef DWARF2_DEBUGGING_INFO.

* dwarf2out.c (dwarf2out_init, dwarf2out_finish): Add dummy version
#ifndef DWARF2_DEBUGGING_INFO.

From-SVN: r43936

23 years ago* Revert today's change -- there is a subtle bug.
Ben Elliston [Wed, 11 Jul 2001 13:10:18 +0000 (13:10 +0000)]
* Revert today's change -- there is a subtle bug.

From-SVN: r43935

23 years ago* gcc.c-torture/compile/20010711-1.c,
Richard Sandiford [Wed, 11 Jul 2001 09:46:23 +0000 (09:46 +0000)]
* gcc.c-torture/compile/20010711-1.c,

* gcc.c-torture/compile/20010711-2.c: New tests.

From-SVN: r43934

23 years ago* simplify-rtx.c (simplify_gen_subreg): Return null for QUEUED rtxes.
Richard Sandiford [Wed, 11 Jul 2001 09:41:34 +0000 (09:41 +0000)]
* simplify-rtx.c (simplify_gen_subreg): Return null for QUEUED rtxes.

From-SVN: r43933

23 years ago* gcc.c-torture/execute/20010711-1.c: New test.
Richard Sandiford [Wed, 11 Jul 2001 09:38:11 +0000 (09:38 +0000)]
* gcc.c-torture/execute/20010711-1.c: New test.

From-SVN: r43932

23 years agomips.c (gen_int_relational): Tell the caller not to reverse a branch if a NE comparis...
Richard Sandiford [Wed, 11 Jul 2001 09:32:18 +0000 (09:32 +0000)]
mips.c (gen_int_relational): Tell the caller not to reverse a branch if a NE comparison is implemented with GTU.

* config/mips/mips.c (gen_int_relational): Tell the caller not to
reverse a branch if a NE comparison is implemented with GTU.

From-SVN: r43931

23 years agomips.md (call_internal1): Use CONSTANT_ADDRESS_P to check for constant addresses.
Richard Sandiford [Wed, 11 Jul 2001 09:29:42 +0000 (09:29 +0000)]
mips.md (call_internal1): Use CONSTANT_ADDRESS_P to check for constant addresses.

* mips.md (call_internal1): Use CONSTANT_ADDRESS_P to check for
constant addresses.
(call_internal2): Likewise.
(call_value_internal1): Likewise.
(call_value_internal2): Likewise.
(call_value_multiple_internal1): Likewise.
(call_value_multiple_internal2): Likewise.

Co-Authored-By: H.J. Lu <hjl@gnu.org>
From-SVN: r43930

23 years agore PR c++/80 (g++ enum and attributed __packed__)
Ben Elliston [Wed, 11 Jul 2001 07:56:23 +0000 (07:56 +0000)]
re PR c++/80 (g++ enum and attributed __packed__)

2001-07-11  Ben Elliston  <bje@redhat.com>

PR c++/80
* decl.c (finish_enum): New "attributes" argument; pass it to
cplus_decl_attributes.  Use a narrower type if the enum is packed.
* cp-tree.h (finish_enum): Adjust prototype.
* parse.y (enum_head): New non-terminal.
(structsp): Use it. Enums now may be preceded or followed by
optional attributes -- pass their chained tree to finish_enum().
* pt.c (tsubst_enum): Pass NULL_TREE for the new argument.

From-SVN: r43929

23 years agoenum5.C: New test.
Ben Elliston [Wed, 11 Jul 2001 07:51:07 +0000 (07:51 +0000)]
enum5.C: New test.

2001-07-11  Ben Elliston  <bje@redhat.com>

* g++.old-deja/g++.other/enum5.C: New test.

From-SVN: r43928

23 years ago[multiple changes]
Alexandre Petit-Bianco [Wed, 11 Jul 2001 07:33:43 +0000 (00:33 -0700)]
[multiple changes]

2001-07-10  Alexandre Petit-Bianco  <apbianco@redhat.com>

* lang-specs.h: Forbit the use if `-femit-class-file{s}' without
`-fsyntax-only.' Fixes PR java/3248

2001-07-10  Alexandre Petit-Bianco  <apbianco@redhat.com>

* jcf-io.c (find_class): Clarified error message. Fixes PR java/2603

2001-07-10  Alexandre Petit-Bianco  <apbianco@redhat.com>

* parse.h (INNER_ENCLOSING_SCOPE_CHECK): No `this' is fine if the
current function is static. Fixes PR java/1970

2001-07-09  Alexandre Petit-Bianco  <apbianco@redhat.com>

* parse.y (patch_method_invocation): Add enclosing context to ctor
calls if necessary. Fixes PR java/2953

2001-07-09  Alexandre Petit-Bianco  <apbianco@redhat.com>

* parse.y (resolve_package): Abort if qualified expression member
isn't right.
(qualify_ambiguous_name): Don't qualify as type if `this' in use.
Fixes PR java/1391

(http://gcc.gnu.org/ml/gcc-patches/2001-07/msg00701.html )

From-SVN: r43927

23 years agoDaily bump.
GCC Administrator [Wed, 11 Jul 2001 07:16:10 +0000 (07:16 +0000)]
Daily bump.

From-SVN: r43925

23 years agopt.c (tsubst_decl): Set DECL_CONTEXT for namespace-scope variables.
Mark Mitchell [Wed, 11 Jul 2001 06:24:57 +0000 (06:24 +0000)]
pt.c (tsubst_decl): Set DECL_CONTEXT for namespace-scope variables.

* pt.c (tsubst_decl): Set DECL_CONTEXT for namespace-scope
variables.

From-SVN: r43924

23 years agoAdd some org packages.
Anthony Green [Wed, 11 Jul 2001 03:59:16 +0000 (03:59 +0000)]
Add some org packages.

From-SVN: r43922

23 years agoFix a typo in ChangeLog.
Kazu Hirata [Wed, 11 Jul 2001 01:59:36 +0000 (01:59 +0000)]
Fix a typo in ChangeLog.

From-SVN: r43921

23 years agoJim is no longer at Wind River, he probably won't be contributing to mcore much
Mike Stump [Wed, 11 Jul 2001 01:53:36 +0000 (01:53 +0000)]
Jim is no longer at Wind River, he probably won't be contributing to mcore much

From-SVN: r43920

23 years agoFix typo in last change
Richard Kenner [Wed, 11 Jul 2001 01:51:35 +0000 (21:51 -0400)]
Fix typo in last change

From-SVN: r43919

23 years agocalls.c (emit_library_call_value_1): Fix a comment typo.
Kazu Hirata [Wed, 11 Jul 2001 01:04:26 +0000 (01:04 +0000)]
calls.c (emit_library_call_value_1): Fix a comment typo.

2001-07-10  Kazu Hirata  <kazu@hxi.com>

* calls.c (emit_library_call_value_1): Fix a comment typo.
* dwarf2out.c (mem_loc_descriptor): Likewise.
* config/i386/i386.c (ix86_expand_aligntest): Likewise.

From-SVN: r43917

23 years agosimplify-rtx.c: (simplify_subreg) Fix typo in comment
David Billinghurst [Wed, 11 Jul 2001 00:52:01 +0000 (00:52 +0000)]
simplify-rtx.c: (simplify_subreg) Fix typo in comment

2001-07-11  David Billinghurst <David.Billinghurst@riotinto.com>

* simplify-rtx.c: (simplify_subreg) Fix typo in comment

From-SVN: r43916

23 years agoMakefile.am: Added `java/lang/ThreadLocal.java'.
Alexandre Petit-Bianco [Wed, 11 Jul 2001 00:47:37 +0000 (17:47 -0700)]
Makefile.am: Added `java/lang/ThreadLocal.java'.

libjava:

2001-07-10  Alexandre Petit-Bianco  <apbianco@redhat.com>

        * Makefile.am: Added `java/lang/ThreadLocal.java'.
        * Makefile.in: Regenerate.
        * java/lang/ThreadLocal.java: Initial import.

libjava/testsuite:

2001-07-10  Alexandre Petit-Bianco  <apbianco@readhat.com>

        * libjava.lang/TLtest.java: New file.
        * libjava.lang/TLtest.out: New file.

(http://gcc.gnu.org/ml/java-patches/2001-q3/msg00042.html )

From-SVN: r43915

23 years agoMakefile.in: Add support for regex code.
Jeff Johnston [Wed, 11 Jul 2001 00:11:12 +0000 (00:11 +0000)]
Makefile.in: Add support for regex code.

* Makefile.in: Add support for regex code.
* regex.c: New file.

From-SVN: r43914

23 years agoxregex.h: New file to support libiberty regex.
Jeff Johnston [Wed, 11 Jul 2001 00:10:28 +0000 (00:10 +0000)]
xregex.h: New file to support libiberty regex.

* xregex.h: New file to support libiberty regex.
* xregex2.h: Ditto.

From-SVN: r43913

23 years agorecog.c (offsettable_address_p): Handle LO_SUM case.
Richard Kenner [Tue, 10 Jul 2001 22:09:10 +0000 (22:09 +0000)]
recog.c (offsettable_address_p): Handle LO_SUM case.

* recog.c (offsettable_address_p): Handle LO_SUM case.
* config/mips/mips.c (double_memory_operand): Use adjust_address_nv
instead of plus_constant.

From-SVN: r43912

23 years agoreload1.c (merge_assigned_reloads): After a RELOAD_OTHER merge...
Stephane Carrez [Tue, 10 Jul 2001 20:43:59 +0000 (22:43 +0200)]
reload1.c (merge_assigned_reloads): After a RELOAD_OTHER merge...

* reload1.c (merge_assigned_reloads): After a RELOAD_OTHER merge,
fix setting of the reloads of that reload to RELOAD_FOR_OTHER_ADDRESS.

From-SVN: r43911

23 years agofio.h: Revert type of url from off_t to int.
Toon Moene [Tue, 10 Jul 2001 20:39:40 +0000 (22:39 +0200)]
fio.h: Revert type of url from off_t to int.

2001-07-10  Toon Moene  <toon@moene.indiv.nluug.nl>

* libI77/fio.h: Revert type of url from off_t to int.
* libI77/dfe.c (c_dfe): Cast offset expression in FSEEK to off_t.
* libI77/due.c (c_due): Ditto.  (e_rdue): Ditto.
* libI77/ftell_.c (G77_ftell_0): Cast result of FTELL to integer.
(G77_fseek_0): Cast offset argument of FSEEK to off_t.

From-SVN: r43910

23 years agors6000.c (print_operand, [...]): Use adjust_address_nv instead of plus_constant.
Richard Kenner [Tue, 10 Jul 2001 20:24:06 +0000 (20:24 +0000)]
rs6000.c (print_operand, [...]): Use adjust_address_nv instead of plus_constant.

* config/rs6000/rs6000.c (print_operand, case 'L', 'Y', 'Z'): Use
adjust_address_nv instead of plus_constant.

From-SVN: r43909

23 years agoMakefile.in (toplev.o, [...]): Depend on debug.h, wrap long lines.
Neil Booth [Tue, 10 Jul 2001 18:44:34 +0000 (18:44 +0000)]
Makefile.in (toplev.o, [...]): Depend on debug.h, wrap long lines.

* Makefile.in (toplev.o, sdbout.o, dbxout.o, dwarfout.o,
dwarf2out.o): Depend on debug.h, wrap long lines.
* dbxout.c: Include debug.h.
(dbx_debug_hooks): New.
(dbxout_init): Make static, take just 2 args.
(dbxout_finish): Make static.
* dbxout.h (dbxout_init, dbxout_finish): Delete.
* debug.c: New file.
* debug.h: New file.
* dwarf2out.c: Include debug.h.
(dwarf2_debug_hooks): New.
(dwarf2out_init): Make static.
(dwarf2out_finish): Make static, take 2 args.
* dwarf2out.h (dwarf2out_init, dwarf2out_finish): Delete.
* dwarfout.c: Include debug.h.
(dwarf_debug_hooks): New.
(dwarfout_init): Make static.
(dwarfout_finish): Make static, take 2 args.
* dwarfout.h (dwarfout_init, dwarfout_finish): Delete.
* sdbout.c: Include debug.h.
(sdb_debug_hooks): New.
(sdbout_init): Make static, take 2 args.
* sdbout.h (sdbout_init): Delete.
* toplev.c: Include debug.h.
(debug_hooks): New.
(compile_file): Set deubg_hooks based on command line options.
Use the hooks unconditionally rather than conditional compilation.

From-SVN: r43908

23 years ago* tm.texi: Fix markup.
Neil Booth [Tue, 10 Jul 2001 18:07:41 +0000 (18:07 +0000)]
* tm.texi: Fix markup.

From-SVN: r43907

23 years agossa-ccp.c (first_phi_node): Remove.
Jeffrey A Law [Tue, 10 Jul 2001 16:27:54 +0000 (16:27 +0000)]
ssa-ccp.c (first_phi_node): Remove.

        * ssa-ccp.c (first_phi_node): Remove.  Replace uses with calls to
        first_insn_after_basic_block_note instead.

        * df.c (df_bb_refs_unlink): #if 0 out for now.

        * ssa.h: Add prototype for ssa_const_prop
        * ssa-ccp.c: Add prototype for ssa_fast_dce and mark_references
        (ssa_ccp_substitute_constants): Fix signed vs unsigned comparison
        (ssa_fast_dce): Remove unused variable

From-SVN: r43906

23 years agodiagnostic.c (finish_diagnostic): Rename to diagnostic_finish.
Gabriel Dos Reis [Tue, 10 Jul 2001 16:04:55 +0000 (16:04 +0000)]
diagnostic.c (finish_diagnostic): Rename to diagnostic_finish.

        * diagnostic.c (finish_diagnostic): Rename to
        diagnostic_finish. Make it take an 'output_buffer *'.  Adjust
        calls thourghout.

From-SVN: r43905

23 years agodwarf2out.c (dwarf2out_line): Emit -dA comment even when we have .loc support.
Jason Merrill [Tue, 10 Jul 2001 15:54:38 +0000 (11:54 -0400)]
dwarf2out.c (dwarf2out_line): Emit -dA comment even when we have .loc support.

        * dwarf2out.c (dwarf2out_line): Emit -dA comment even when we have
        .loc support.

From-SVN: r43904