1. 01 Jul, 2003 38 commits
    • alpha.c: Fix comment typos. · 093354e0
      	* config/alpha/alpha.c: Fix comment typos.
      	* config/alpha/elf.h: Likewise.
      	* config/arm/arm.c: Likewise.
      	* config/arm/arm.h: Likewise.
      	* config/arm/arm.md: Likewise.
      	* config/arm/t-arm-coff: Likewise.
      	* config/arm/t-strongarm-pe: Likewise.
      	* config/arm/xscale-elf.h: Likewise.
      	* config/avr/avr.h: Likewise.
      
      From-SVN: r68800
      Kazu Hirata committed
    • Make-lang.in: Update. · 2a2ecc33
      treelang:
      	* Make-lang.in: Update.
      	* tree1.c: Include c-common.h.  Define c_language.
      
      From-SVN: r68796
      Neil Booth committed
    • acinclude.m4 (GLIBCPP_CHECK_STDLIB_SUPPORT): Fix typo in CXXFLAGS. · b7693a46
      
      2003-07-01  Roger Sayle  <roger@eyesopen.com>
      
      	* acinclude.m4 (GLIBCPP_CHECK_STDLIB_SUPPORT): Fix typo in CXXFLAGS.
      	(GLIBCPP_CHECK_MATH_SUPPORT): Likewise.
      	* aclocal.m4: Regenerate.
      	* configure: Regenerate.
      
      From-SVN: r68793
      Roger Sayle committed
    • acinclude.m4 (GLIBCPP_ENABLE_PCH): Fix obvious error. · a5b1b26c
      
      2003-07-01  Benjamin Kosnik  <bkoz@redhat.com>
      
      	* acinclude.m4 (GLIBCPP_ENABLE_PCH): Fix obvious error.
      	* aclocal.m4: Regenerated.
      	* configure: Regenerated.
      
      From-SVN: r68792
      Benjamin Kosnik committed
    • * filenames.h: New file imported from binutils. · b6728b1b
      From-SVN: r68791
      Zack Weinberg committed
    • * stmt.c (any_pending_cleanups): Further simplification. · ce47ca44
      From-SVN: r68789
      Jeff Law committed
    • rs6000.md (ctr{s,d}i_internal?): Add earlyclobber for MEM case. · 43b68ce5
              * config/rs6000/rs6000.md (ctr{s,d}i_internal?): Add earlyclobber
              for MEM case.
      
      Co-Authored-By: J"orn Rennecke <joern.rennecke@superh.com>
      
      From-SVN: r68788
      David Edelsohn committed
    • dbxout.c (DBXOUT_DECR_NESTING): Emit pending bincls, if required. · 33e9d2aa
      2003-07-01  Devang Patel  <dpatel@apple.com>
      
              * dbxout.c (DBXOUT_DECR_NESTING): Emit pending bincls, if required.
              (binclstatus): New.
              (struct dbx_file): New members - bincl_status, pending_bincl_name and
              prev.
              (pending_bincls): New.
              (dbxout_init): Initialize new dbx_file members.
              (dbxout_start_source_file): Same.
              (emit_bincl_stab): New function.
              (emit_pending_bincls): Same.
              (emit_pending_bincls_if_required): Same.
              (dbxout_end_source_file): Emit EINCL stab only if BINCL is  already
              processed.
              (dbxout_begin_block): Emit pending BINCL stabs.
              (dbxout_end_block): Same.
              (dbxout_function_decl): Same.
              (dbxout_continue): Same.
              (dbxout_type): Same.
              (dbxout_class_name_qualifiers): Same.
              (dbxout_symbol): Same.
              (dbxout_symbol_location): Same.
              (dbxout_parms): Same.
      
      From-SVN: r68787
      Devang Patel committed
    • call.c (resolve_scoped_fn_name): Return error_mark_node for erroneous cases. · 28570f7e
      	* call.c (resolve_scoped_fn_name): Return error_mark_node for
      	erroneous cases.
      
      From-SVN: r68786
      Mark Mitchell committed
    • c-semantics.c (genrtl_case_label): Fix format specifier bug. · 0108ae51
      	* c-semantics.c (genrtl_case_label): Fix format specifier bug.
      	* cfgrtl.c (rtl_verify_flow_info_1): Likewise.
      
      From-SVN: r68784
      Kaveh R. Ghazi committed
    • re PR c++/11149 (ICE on error when instantiation with call function of a base type) · 62bfce90
      	PR c++/11149
      	* call.c (resolve_scoped_fn_name): Check that the qualifying scope
      	is a class type.
      
      	PR c++/11149
      	* g++.dg/lookup/scoped6.C: New test.
      
      From-SVN: r68782
      Mark Mitchell committed
    • re PR libstdc++/11389 (Unbuffered wfilebuf fails to read single-byte UTF-8 characters.) · f64f3e74
      2003-07-01  Paolo Carlini  <pcarlini@unitus.it>
      
      	PR libstdc++/11389
      	* include/bits/fstream.tcc (underflow): For encoding() == 0
      	don't read more than __buflen chars.
      	* testsuite/27_io/basic_filebuf/underflow/wchar_t/11389-1.cc: New.
      	* testsuite/27_io/basic_filebuf/underflow/wchar_t/11389-2.cc: New.
      	* testsuite/27_io/basic_filebuf/underflow/wchar_t/11389-3.cc: New.
      	* testsuite/27_io/basic_filebuf/underflow/wchar_t/11389-4.cc: New.
      
      From-SVN: r68780
      Paolo Carlini committed
    • Add missing entry. · 54ced33d
      From-SVN: r68779
      Andreas Jaeger committed
    • fold-const.c: Convert prototypes to ISO C90. · fa8db1f7
      
      	* fold-const.c: Convert prototypes to ISO C90.
      	* function.c: Likewise.
      	* function.h: Likewise.
      
      From-SVN: r68778
      Andreas Jaeger committed
    • gcc_release (BRANCH): Rename to... · b69cd3cf
      	* gcc_release (BRANCH): Rename to...
      	(CVSBRANCH): ...new macro, and use BRANCH for the variant users
      	will see.
      	(FTP_BRANCH): For snapshots, include ${BRANCH} in the last part
      	of the directory name.
      	Use .snapshot_date-${BRANCH} instead of .snapshot_date.
      
      From-SVN: r68777
      Gerald Pfeifer committed
    • re PR c++/8046 (ICE on illegal code involving destructor being treated as bit-not expression) · a9d58f96
      2003-07-01  Giovanni Bajo  <giovannibajo@libero.it>
      
              PR c++/8046
              * g++.dg/other/error7.C: New test.
      
      From-SVN: r68776
      Giovanni Bajo committed
    • re PR c++/8046 (ICE on illegal code involving destructor being treated as bit-not expression) · 814ae570
      2003-07-01  Giovanni Bajo  <giovannibajo@libero.it>
      
              PR c++/8046
              * error.c (dump_decl): Handle BIT_NOT_EXPR as
              pseudo destructor calls.
      
      From-SVN: r68775
      Giovanni Bajo committed
    • 2003-07-01 Michael Koch <konqueror@gmx.de> · 3d8daef2
      	* gnu/gcj/convert/natIconv.cc
      	(iconv_init): Fixed possible memory leak by releasing allocated iconv
      	handle.
      
      From-SVN: r68774
      Michael Koch committed
    • contrib.texi: Fix typos. · c0cbdbd9
      	* doc/contrib.texi: Fix typos.
      	* doc/invoke.texi: Likewise.
      	* doc/passes.texi: Likewise.
      	* doc/sourcebuild.texi: Likewise.
      	* doc/tm.texi: Likewise.
      
      From-SVN: r68772
      Kazu Hirata committed
    • ChangeLog.6: Fix misspellings. · bf3aff48
      	* ChangeLog.6: Fix misspellings.
      	* ChangeLog.7: Likewise.
      
      (testsuite):
      	* gcc.c-torture/execute/20030125-1.c: Likewise.
      
      From-SVN: r68771
      Matt Kraai committed
    • basic-block.h: Fix comment typos. · e0bb17a8
      	* basic-block.h: Fix comment typos.
      	* bb-reorder.c: Likewise.
      	* c-format.c: Likewise.
      	* cfgcleanup.c: Likewise.
      	* cfghooks.h: Likewise.
      	* cfgloop.c: Likewise.
      	* cfgloopmanip.c: Likewise.
      	* cfgrtl.c: Likewise.
      	* cgraph.h: Likewise.
      	* cgraphunit.c: Likewise.
      	* combine.c: Likewise.
      	* convert.c: Likewise.
      	* dbxout.c: Likewise.
      	* df.c: Likewise.
      	* df.h: Likewise.
      	* diagnostic.c: Likewise.
      	* dwarf2out.c: Likewise.
      	* et-forest.h: Likewise.
      	* flow.c: Likewise.
      	* fold-const.c: Likewise.
      	* function.h: Likewise.
      	* gcov-io.h: Likewise.
      	* gcov.c: Likewise.
      	* gcse.c: Likewise.
      	* genautomata.c: Likewise.
      	* ggc-common.c: Likewise.
      	* ggc-page.c: Likewise.
      	* loop-unroll.c: Likewise.
      	* loop-unswitch.c: Likewise.
      	* loop.c: Likewise.
      	* mips-tfile.c: Likewise.
      	* optabs.c: Likewise.
      	* ra-build.c: Likewise.
      	* ra-colorize.c: Likewise.
      	* ra-rewrite.c: Likewise.
      	* ra.h: Likewise.
      	* regmove.c: Likewise.
      	* reload.c: Likewise.
      	* rtlanal.c: Likewise.
      	* sched-ebb.c: Likewise.
      	* sched-int.h: Likewise.
      	* sched-vis.c: Likewise.
      	* sreal.c: Likewise.
      	* ssa-ccp.c: Likewise.
      	* ssa.c: Likewise.
      	* toplev.c: Likewise.
      	* tree-inline.c: Likewise.
      	* value-prof.c: Likewise.
      	* value-prof.h: Likewise.
      
      From-SVN: r68770
      Kazu Hirata committed
    • vbase1.C: Fix comment typos. · 0d0a1710
      	* g++.old-deja/g++.abi/vbase1.C: Fix comment typos.
      	* g++.old-deja/g++.abi/vtable3.h: Likewise.
      	* g++.old-deja/g++.law/code-gen5.C: Likewise.
      	* g++.old-deja/g++.other/union2.C: Likewise.
      	* gcc.dg/c90-const-expr-2.c: Likewise.
      	* gcc.dg/c90-const-expr-3.c: Likewise.
      	* gcc.dg/c99-const-expr-2.c: Likewise.
      	* gcc.dg/c99-const-expr-3.c: Likewise.
      	* gcc.dg/concat.c: Likewise.
      
      From-SVN: r68769
      Kazu Hirata committed
    • gnat_ug.texi: Remove unlikely characters from @vars. · 6344b1f1
      	* gnat_ug.texi: Remove unlikely characters from @vars.
      	* gnat_ug_vms.texi: Regenerate.
      
      From-SVN: r68768
      Matt Kraai committed
    • rtl.h (emit_line_note_after): Remove. · 5f2fc772
      	* rtl.h (emit_line_note_after): Remove.
      	(emit_note_copy_after, emit_note_copy): New.
      	* emit-rtl.c (reorder_insns_with_line_notes): Replace
      	emit_line_note_after with emit_note_copy_after.
      	(emit_insn_after_with_line_notes): Likewise.
      	(emit_line_note_after): Kill.
      	(emit_note_copy_after): New.
      	(emit_note_copy): New.
      	* function.c (emit_return_into_block): Use emit_note_copy_after.
      	(thread_prologue_and_epilogue_insns): Likewise.
      	* integrate.c (expand_inline_function): Use emit_note_copy.
      	(copy_insn_list): Likewise.
      	* unroll.c (copy_loop_body): Likewise.
      	* cfglayout.c (duplicate_insn_chain): Likewise.
      
      From-SVN: r68767
      Nathan Sidwell committed
    • c-tree.h (define_label): Replace filename and lineno arguments with a location_t. · 5b030314
      	* c-tree.h (define_label): Replace filename and lineno arguments
      	with a location_t.
      	* c-decl.c (poplevel): Adjust define_label call.
      	(pop_label_level): Likewise.
      	(define_label): Replace filename and lineno arguments with a
      	location_t.
      	(store_parm_decls): Use DECL_SOURCE_LOCATION.
      	* c-parse.in (label): Adjust define_label call.
      
      	* cp/cp-tree.h (define_label): Replace filename and lineno
      	arguments with a location_t.
      	* cp/decl.c (pop_label): Adjust define_label call.
      	(define_label): Replace filename and lineno arguments with a
      	location_t.
      	* cp/semantics.c (finish_label): Adjust define_label call.
      
      	* java/decl.c (poplevel): Adjust define_label call.
      
      From-SVN: r68766
      Nathan Sidwell committed
    • re PR c++/9559 (ICE with invalid initialization of a static const member) · c9bdad35
      	PR c++/9559
      	* decl2.c (grokfield): Do not build NOP_EXPRs around the
      	error_mark_node.
      
      	PR c++/9559
      	* g++.dg/init/static1.C: New test.
      
      From-SVN: r68764
      Mark Mitchell committed
    • sol2.h, [...]: Use c_dialect_ macros. · 04df6730
      	* config/sol2.h, config/alpha/alpha.h, config/alpha/linux.h,
      	config/i386/i386-interix.h, config/ia64/hpux.h, config/mips/iris6.h,
      	config/mips/linux.h, config/mips/mips.h, config/pa/pa-hpux.h,
      	config/pa/pa-hpux10.h, config/pa/pa-hpux11.h, config/pa/pa-pro-end.h,
      	config/pa/pa.h, config/pa/rtems.h: Use c_dialect_ macros.
      
      From-SVN: r68763
      Neil Booth committed
    • 7.cc: New. · 5ee78c21
      2003-07-01  Jerry Quinn  <jlquinn@optonline.net>
      
      	* 22_locale/num_put/put/char/7.cc: New.
      	* 22_locale/num_put/put/wchar_t/7.cc: New.
      
      From-SVN: r68762
      Jerry Quinn committed
    • locale.cc (__use_cache<numpunct>): Revert previous relocation. · e97ee22e
      2003-06-30  Jerry Quinn  <jlquinn@optonline.net>
      
      	* src/locale.cc (__use_cache<numpunct>): Revert previous relocation.
      	* include/bits/locale_facets.tcc (__use_cache<numpunct>): Ditto.
      
      From-SVN: r68761
      Jerry Quinn committed
    • final.c: Convert prototypes to ISO C90. · 6cf9ac28
      	* final.c: Convert prototypes to ISO C90.
      	* flow.c: Likewise.
      	* flags.h: Likewise.
      
      From-SVN: r68760
      Andreas Jaeger committed
    • re PR middle-end/6578 (-ftrapv doesn't catch multiplication overflow) · 4c20b2e7
      2003-06-30  Bruno Haible  <bruno@clisp.org>
      
      	PR middle-end/6578
      	* libgcc2.c (__subvsi3): Remove simplification that would not work
      	when subtracting -0x80000000.
      	(__subvdi3): Remove simplification that would return a wrong result.
      	(__mulvsi3): Fix overflow check.
      	(__absvdi2): Fix simplification that would return a wrong result.
      	(__mulvdi3): Fix overflow check.
      
      From-SVN: r68758
      Bruno Haible committed
    • 1-in.cc: New. · 7d6a0993
      
      2003-06-30  Benjamin Kosnik  <bkoz@redhat.com>
      
      	* 27_io/basic_filebuf/seekoff/char/1-in.cc: New.
      	* 27_io/basic_filebuf/seekoff/char/1-io.cc: New.
      	* 27_io/basic_filebuf/seekoff/char/1-out.cc: New.
      	* 27_io/basic_filebuf/seekoff/char/2-in.cc: New.
      	* 27_io/basic_filebuf/seekoff/char/2-io.cc: New.
      	* 27_io/basic_filebuf/seekoff/char/2-out.cc: New.
      	* 27_io/basic_filebuf/seekoff/char/2.cc: Remove.
      	* 27_io/basic_filebuf/seekoff/char/3-in.cc: New.
      	* 27_io/basic_filebuf/seekoff/char/3-io.cc: Change.
      	* 27_io/basic_filebuf/seekoff/char/3-out.cc: New.
      	* 27_io/basic_filebuf/seekoff/char/4-io.cc: Remove.
      	* 27_io/basic_filebuf/seekpos/char/1-in.cc: New.
      	* 27_io/basic_filebuf/seekpos/char/1-io.cc: New.
      	* 27_io/basic_filebuf/seekpos/char/1-out.cc: New.
      	* 27_io/basic_filebuf/seekpos/char/2-in.cc: New.
      	* 27_io/basic_filebuf/seekpos/char/2-io.cc: New.
      	* 27_io/basic_filebuf/seekpos/char/2-out.cc: New.
      	* 27_io/basic_filebuf/seekpos/char/2.cc: Change.
      	* 27_io/basic_filebuf/seekpos/char/3-in.cc: New.
      	* 27_io/basic_filebuf/seekpos/char/3-io.cc: Remove.
      	* 27_io/basic_filebuf/seekpos/char/3-out.cc: New.
      	* 27_io/basic_filebuf/seekpos/char/4-io.cc: Remove.
       	* data/seekoff-1.tst: Remove.
      	* data/seekoff-1io.tst: New.
      	* data/seekoff-1out.tst: New.
      	* data/seekoff-2.tst: Remove.
      	* data/seekoff-2io.tst: New.
      	* data/seekoff-2out.tst: New.
      	* data/seekoff.txt
      	* data/seekpos-1.tst: Remove.
      	* data/seekpos-1io.tst: New.
      	* data/seekpos-1out.tst: New.
      	* data/seekpos-2.tst: Remove.
      	* data/seekpos-2io.tst: New.
      	* data/seekpos-2out.tst: New.
      	* data/seekpos.txt: New.
      
      From-SVN: r68757
      Benjamin Kosnik committed
    • locale.cc (__use_cache<numpunct>): Move from here ... · cf0cad09
      2003-06-27  Jerry Quinn  <jlquinn@optonline.net>
      
      	* src/locale.cc (__use_cache<numpunct>): Move from here ...
      	* include/bits/locale_facets.tcc (__use_cache<numpunct>): To
      	here.
      
      From-SVN: r68756
      Jerry Quinn committed
    • stmt.c (any_pending_cleanups): Lose argument THIS_CONTOUR, it was always passed in the value '1'. · de1f5659
              * stmt.c (any_pending_cleanups): Lose argument THIS_CONTOUR, it
              was always passed in the value '1'.  Simplify body appropriately.
              * tree.h (any_pending_cleanups): Corresponding changes.
              * calls.c: (expand_call): Corresponding changes.
      
      From-SVN: r68754
      Jeff Law committed
    • combine.c (distribute_notes): Don't bother REG_WAS_0. · 6001794d
      	* combine.c (distribute_notes): Don't bother REG_WAS_0.
      	* cse.c (cse_insn): Likewise.
      	* final.c (final_scan_insn): Likewise.
      	* jump.c (duplicate_loop_exit_test): Likewise.
      	* rtl.c (reg_note_name): Remove REG_WAS_0.
      	* rtl.h (REG_WAS_0): Remove.
      	* unroll.c (final_reg_note_copy): Don't bother REG_WAS_0.
      	* config/avr/avr.c (output_movqi): Don't use reg_was_0.
      	(output_movhi): Likewise.
      	(output_movsisf): Likewise.
      	(reg_was_0): Remove.
      	* config/m68hc11/m68hc11.c (m68hc11_gen_movhi): Don't use
      	REG_WAS_0.
      	(m68hc11_gen_movqi): Likewise.
      	* config/vax/vax-protos.h: Remove the prototype for
      	reg_was_0_p.
      	* config/vax/vax.c (follows_p): Remove.
      	(reg_was_0_p): Likewise.
      	* config/vax/vax.md (movsi): Don't use reg_was_0_p.
      	(movhi): Likewise.
      	(movqi): Likewise.
      	* doc/rtl.texi (REG_WAS_0): Remove.
      
      From-SVN: r68753
      Kazu Hirata committed
    • spe.h (__ev_set_spefscr_frmc): Set the flag. · 7d896ee9
      	* config/rs6000/spe.h (__ev_set_spefscr_frmc): Set the flag.
      
      [[Split portion of a mixed commit.]]
      
      From-SVN: r68751.2
      Mark Mitchell committed
    • Daily bump. · 8e16d3af
      From-SVN: r68749
      GCC Administrator committed
    • xtensa-config.h: New file imported from binutils. · e677f70c
      include/ChangeLog:
      	* xtensa-config.h: New file imported from binutils.
      
      gcc/ChangeLog:
      	* config/xtensa/lib1funcs.asm: Use "xtensa-config.h" from
      	top-level include directory.
      	* config/xtensa/lib2funcs.S: Likewise.
      	* config/xtensa/xtensa.h: Likewise.
      	* config/xtensa/xtensa-config.h: Remove.
      	* doc/install.texi: Update location of "xtensa-config.h" header.
      
      From-SVN: r68747
      Bob Wilson committed
  2. 30 Jun, 2003 2 commits
    • glib-2.0.m4: New file. · 29e531ff
      	* glib-2.0.m4: New file.
      	* gtk-2.0.m4: New file.
      	* glib.m4: Remove.
      	* gtk.m4: Remove.
      	* configure.in: Update AM_PATH_GTK macro call to
      	AM_PATH_GTK_2_0.  Likewise for AM_PATH_GLIB.
      	* jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c,
      	jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
      	jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
      	jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c,
      	jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c,
      	jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
      	jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c,
      	jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
      	jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c,
      	jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c,
      	jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c,
      	jni/gtk-peer/gthread-jni.c,
      	jni/gtk-peer/gthread-jni.h:
      	New versions from classpath.
      	* aclocal.m4: Regenerate.
      	* configure: Regenerate.
      	* Makefile.in: Regenerate.
      	* gcj/Makefile.in: Regenerate.
      	* include/Makefile.in: Regenerate.
      	* testsuite/Makefile.in: Regenerate.
      
      From-SVN: r68746
      Thomas Fitzsimmons committed
    • stl_algobase.h: Fully qualify standard functions with std::, thus avoiding Koenig lookup. · 884a757a
      2003-06-30  Paolo Carlini  <pcarlini@unitus.it>
      
      	* include/bits/stl_algobase.h: Fully qualify standard
      	functions with std::, thus avoiding Koenig lookup.
      
      From-SVN: r68745
      Paolo Carlini committed