1. 02 Jul, 2003 7 commits
    • iris5.h (SET_FILE_NUMBER): Moved here from iris3.h. · 4c82f12b
      	* config/mips/iris5.h (SET_FILE_NUMBER): Moved here from iris3.h.
      	Undef before redefinition.
      	(LABEL_AFTER_LOC): Likewise.
      	(DEFAULT_SIGNED_CHAR): Likewise.
      	(ASM_OUTPUT_ASCII): Moved here from iris4.h.
      	Fix IRIX spelling.
      
      	* config/mips/iris3.h: Remove, unused.
      	* config/mips/iris4.h: Likewise.
      
      	* config/mips/mips.h (STACK_ARGS_ADJUST): Remove, unused.
      
      	* config/mips/iris5.h (TARGET_DEFAULT): Move ...
      	* config.gcc (mips-sgi-irix6*o32, mips-sgi-irix5*): ... here to
      	target_cpu_default.
      
      	* config/mips/iris5.h: Move explicit includes ...
      	* config.gcc (mips-sgi-irix6*o32, mips-sgi-irix5*): ... here.
      
      	* config/mips/iris6.h (MIPS_ISA_DEFAULT, MIPS_ABI_DEFAULT): Move ...
      	* config.gcc (mips-sgi-irix6*, mips-sgi-irix5cross64): ... here to
      	tm_defines.
      
      	* config/mips/iris6.h (TARGET_DEFAULT): Move ...
      	* config.gcc (mips-sgi-irix6*, mips-sgi-irix5cross64): ... here to
      	target_cpu_default.
      
      	* config/mips/iris6.h: Fix IRIX spelling.
      	(MULTILIB_DEFAULTS): Undef before redefinition.
      
      	* config/mips/iris6.h: Move explicit includes ...
      	* config.gcc (mips-sgi-irix6*, mips-sgi-irix5cross64): ... here.
      
      From-SVN: r68808
      Rainer Orth committed
    • cgraph.c (cgraph_mark_needed_node, [...]): Use next_needed field instead of aux… · 8bd87c4e
      cgraph.c (cgraph_mark_needed_node, [...]): Use next_needed field instead of aux to maintain the queue.
      
      	* cgraph.c (cgraph_mark_needed_node, cgraph_varpool_mark_needed_node,
      	cgraph_varpool_finalize_decl, cgraph_varpool_assemble_pending_decls):
      	Use next_needed field instead of aux to maintain the queue.
      	* cgraph.h (cgraph_node): Add next_needed.
      	(cgraph_varpool_node): Add next_needed; remove aux.
      	* cgraphunit.c (cgraph_finalize_compilation_unit): Use next_needed.
      
      From-SVN: r68807
      Jan Hubicka committed
    • Daily bump. · d6435621
      From-SVN: r68805
      GCC Administrator committed
    • cgraphunit.c (cgraph_finalize_function): Set finalized. · f6981e16
      	* cgraphunit.c (cgraph_finalize_function): Set finalized.
      	(cgraph_finalize_function): Do not examine inlinablility.
      	(cgraph_finalize_compilation_unit): Do it here.
      	* cgraph.h (cgraph_local_info): Add finalized field.
      
      From-SVN: r68803
      Jan Hubicka committed
    • ggc-common.c (gt_pch_save): Cast MAP_FAILED to void *. · d1c60855
      	* ggc-common.c (gt_pch_save): Cast MAP_FAILED to void *.
      	(gt_pch_restore): Likewise.
      
      From-SVN: r68802
      Rainer Orth committed
    • decl2.c (defer_fn): Set DECL_DEFER_OUTPUT. · 8cd2462c
      	* decl2.c (defer_fn): Set DECL_DEFER_OUTPUT.
      	(finish-file): Do not process function with DECL_DEFER_OUTPUT clear;
      	clear DECL_DEFER_OUTPUT once function is processed; avoid flags
      	massaging.
      
      	* cp-tree.h (DECL_NEEDED_P): Support unit-at-a-time
      	(expand_or_defer_fn): Declare.
      	(lower_function): Declare.
      	* decl.c (start_cleanup_fn): Use expand_or_defer_fn.
      	* decl2.c: Include cgraph.h and varpool.h
      	(maybe_emit_vtables):  Make explicit instantations as needed.
      	(mark_member_pointers, lower_function): New functions.
      	(finish_file): Do unit-at-a-time.
      	* method.c (synthesize_method): Use expand_or_defer_fn.
      	* optimize.c (maybe_clone_body): Use expand_or_defer_fn.
      	* parser.c (cp_parser_function_definition_after_decl): Use
      	expand_or_defer_fn.
      	* pt.c (instantiate_decl): Likewise.
      	* semantics.c: Include cgraph.h
      	(expand_or_defer_fn): Break out from ...
      	(expand_body): ... here; deal with unit-at-a-time.
      	* cp-lang.c (LANG_HOOKS_CALLGRAPH_EXPAND_FUNCTION,
      	LANG_HOOKS_CALLGRAPH_LOWER_FUNCTION): Define.
      
      From-SVN: r68801
      Jan Hubicka committed
  2. 01 Jul, 2003 33 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