1. 15 Jul, 2001 15 commits
    • Makefile.in (integrate.o): Add debug.h. · 135d50f1
      	* Makefile.in (integrate.o): Add debug.h.
      	* integrate.c (debug.h): Add.
      	(output_inline_function): Save, reset, and restore debug_hooks.
      
      From-SVN: r44026
      Richard Kenner committed
    • alpha.c (alpha_emit_xfloating_compare): Use CCmode instead of COMPARE for the EQUIV expression. · b762a0ef
              * config/alpha/alpha.c (alpha_emit_xfloating_compare): Use CCmode
              instead of COMPARE for the EQUIV expression.
      
      From-SVN: r44024
      Richard Henderson committed
    • flow.c (redirect_edge_and_branch_force): Initialize global_live_at_start and global_live_at_end. · c319629b
              * 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
      Richard Henderson committed
    • alpha.c (alpha_tablejump_addr_vec): New. · 25e21aed
              * 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
      Richard Henderson committed
    • f90-intrinsic-numeric.f: Fix pasto. · 09b495e5
      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
      Toon Moene committed
    • f90-intrinsic-numeric.f: New test. · 147424bf
      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
      David Billinghurst committed
    • loop.c (scan_loop): Add USEs inside PARALLELs into dependencies of the movable. · 03598dea
      	* 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
      Jan Hubicka committed
    • Assert 'endian' not 'machine' in endian specs · b8313db6
      From-SVN: r44018
      Nick Clifton committed
    • dbxout.c (dbxout_source_line): Make static, update prototype. · e2a12aca
      	* 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
      Neil Booth committed
    • alpha.h (TARGET_ABI_OSF): New. · be7b80f4
              * 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
      Richard Henderson committed
    • Daily bump. · 4a82c950
      From-SVN: r44015
      GCC Administrator committed
    • alpha.md: Use define_constants for unspec values. · 736f566a
              * config/alpha/alpha.md: Use define_constants for unspec values.
              Substitute throughout.
      
      From-SVN: r44012
      Richard Henderson committed
    • * tree.def (EXPON_EXPR) remove. Never supported anyway. · e6290e74
      	* 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
      Tim Josling committed
    • * ifcvt.c (find_cond_trap): Test for exit block. · 35cbdf6f
      From-SVN: r44009
      Richard Henderson committed
  2. 14 Jul, 2001 5 commits
    • Re-install recently reverted patch. · 1e5fd094
      	* 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
      Jan Hubicka committed
    • ifcvt.c (find_cond_trap): New. · 999c0669
              * 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
      Richard Henderson committed
    • Daily bump. · 386eda2e
      From-SVN: r44004
      GCC Administrator committed
    • pa.c (emit_hpdiv_const): Return reg is r2 for 64-bit millicode. · 7d8b1412
      	* 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
      Alan Modra committed
    • bb-reorder.c (skip_insn_after_block): Get past the line number notes. · 1ed672dd
      	* 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
      Jan Hubicka committed
  3. 13 Jul, 2001 20 commits
    • elfos.h (UNIQUE_SECTION): Enable .bss section with the correct patch. · c51f3aa1
      2001-07-13  H.J. Lu  (hjl@gnu.org)
      
      	* config/elfos.h (UNIQUE_SECTION): Enable .bss section with
      	the correct patch.
      
      From-SVN: r44001
      H.J. Lu committed
    • jvspec.c (jvgenmain_spec): Remove -ffilelist-file from cc1 invocation. · 4b2dc1b2
      	* jvspec.c (jvgenmain_spec): Remove -ffilelist-file from cc1
      	invocation.
      
      From-SVN: r44000
      Tom Tromey committed
    • Revert H.J. Lu's UNIQUE_SECTION patch of 2001-07-13. · ca18be57
      From-SVN: r43998
      Geoffrey Keating committed
    • std_sstream.h (basic_stringbuf::basic_stringbuf(string): Initialize _M_string… · 48fe3de0
      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
      Phil Edwards committed
    • c-common.c (decl_attributes): Take a pointer to the node to which attributes are to be attached... · 59387d2e
      	* 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
      Joseph Myers committed
    • anon_ctor_itf_arg.java: Moved to `libjava.lang.' · e47c5acd
      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
      Alexandre Petit-Bianco committed
    • re PR java/3635 ("empty declaration" warning too broad) · b6e3e1ff
      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
      Alexandre Petit-Bianco committed
    • avr.md (strlenhi): PARALLEL keyword removed. · 48ccfb40
      	* 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
      Denis Chertykov committed
    • jump.c (reversed_comparison_code_parts): Fix comment typos. · 5a4aeb03
      2001-07-13  Kazu Hirata  <kazu@hxi.com>
      
      	* jump.c (reversed_comparison_code_parts): Fix comment typos.
      
      From-SVN: r43990
      Kazu Hirata committed
    • elfos.h (UNIQUE_SECTION): Enable .bss section. · 92e78e59
      2001-07-13  H.J. Lu  (hjl@gnu.org)
      
      	* config/elfos.h (UNIQUE_SECTION): Enable .bss section.
      
      From-SVN: r43989
      H.J. Lu committed
    • config.gcc (*-*-openbsd*): Add fragment to compile libgcc correctly for shared configurations. · f1cf4606
      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
      Marc Espie committed
    • Makefile.am: New file encapsulating header generation rules. · 4a9d5109
      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
      Stephen M. Webb committed
    • config.gcc: Add configuration for s/390. · 9628a767
      	* config.gcc: Add configuration for s/390.
      	* Changelog: Add s/390.
      
      From-SVN: r43981
      Hartmut Penner committed
    • s390.c: New. · 9db1d521
              * 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
      Hartmut Penner committed
    • emit-rtl.c (try_split): Update mark_jump_label call. · f3ba35e4
      	* 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
      Jan Hubicka committed
    • Daily bump. · dd697c0d
      From-SVN: r43977
      GCC Administrator committed
    • re PR libgcj/3426 (java.io.InputStreamReader, infinite loop) · a9a399fe
      
      	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
      Tom Tromey committed