1. 27 Feb, 2004 18 commits
    • bb-reorder.c, [...]: Update copyright. · 88462c42
      gcc/
      	* bb-reorder.c, cfgbuild.c, diagnostic.c, explow.c, profile.c,
      	ra-build.c, read-rtl.c, tracer.c, unwind-dw2-fde-glibc.c,
      	value-prof.c, config/darwin-protos.h, config/frv/frv-abi.h,
      	config/i386/pmmintrin.h, config/pa/pa-hpux.h: Update
      	copyright.
      
      gcc/java/
      	* java/parse.h: Update copyright.
      
      From-SVN: r78566
      Kazu Hirata committed
    • locale_facets.tcc (num_get<>::_M_extract_float, [...]): If appropriate, call… · a8ea7389
      locale_facets.tcc (num_get<>::_M_extract_float, [...]): If appropriate, call reserve on the __tmp_gruping string.
      
      2004-02-27  Paolo Carlini  <pcarlini@suse.de>
      
      	* include/bits/locale_facets.tcc (num_get<>::_M_extract_float,
      	num_get<>::_M_extract_int, money_get<>::_M_extract): If appropriate,
      	call reserve on the __tmp_gruping string.
      	(num_get<>::_M_extract_float): Don't append unnecessarily a
      	char() to the returned string.
      	* include/bits/locale_facets.tcc: Trivial reformattings.
      
      From-SVN: r78565
      Paolo Carlini committed
    • locale_facets.h (money_get<>::_M_extract): Change signature: now takes a plain string&. · f4bdbead
      2004-02-27  Paolo Carlini  <pcarlini@suse.de>
      
      	* include/bits/locale_facets.h (money_get<>::_M_extract):
      	Change signature: now takes a plain string&.
      	* include/bits/locale_facets.tcc (money_get<>::_M_extract):
      	Update consistently the definition; use the moneypunct cache
      	to parse the value; use swap to change __units.
      	(money_get<>::do_get(long double&)): Update call of _M_extract,
      	avoid ctype::narrow, not correct wrt the standard.
      	(money_get<>::do_get(string_type&)): Likewise, update call
      	of _M_extract, use ctype::widen.
      	* src/locale-inst.cc: Tweak instantiations of _M_extract.
      
      From-SVN: r78562
      Paolo Carlini committed
    • passes.c: New file. · f6db1481
              * passes.c: New file.
              * Makefile.in (OBJS-common): Add it.
              * diagnostic.c (rtl_dump_and_exit): Move decl ...
              * flags.h (rtl_dump_and_exit): ... here.
              * output.h (size_directive_output, last_assemble_variable_decl):
              Move from toplev.c.
              * rtl.h (reg_alloc): Move from toplev.c.
              * toplev.c (HAVE_conditional_execution, DUMPFILE_FORMAT,
              struct dump_file_info, enum dump_file_index, dump_file_tbl,
              open_dump_file, close_dump_file, rest_of_decl_compilation,
              rest_of_type_compilation, rest_of_handle_final,
              rest_of_handle_delay_slots, rest_of_handle_stack_regs,
              rest_of_handle_variable_tracking, rest_of_handle_machine_reorg,
              rest_of_handle_new_regalloc, rest_of_handle_old_regalloc,
              rest_of_handle_regrename, rest_of_handle_reorder_blocks,
              rest_of_handle_sched, rest_of_handle_sched2, rest_of_handle_regmove,
              rest_of_handle_tracer, rest_of_handle_if_conversion,
              rest_of_handle_if_after_combine, rest_of_handle_web,
              rest_of_handle_branch_prob,
              rest_of_handle_value_profile_transformations, rest_of_handle_cfg,
              rest_of_handle_addressof, rest_of_handle_sibling_calls,
              rest_of_handle_jump_bypass, rest_of_handle_inlining,
              rest_of_handle_null_pointer, rest_of_handle_combine,
              rest_of_handle_life, rest_of_handle_cse, rest_of_handle_cse2,
              rest_of_handle_gcse, rest_of_handle_loop_optimize,
              rest_of_handle_loop2, rest_of_compilation): Move to passes.c.
              (decode_d_option): Use enable_rtl_dump_file.
              (compile_file, finalize, do_compile): Move profile+combine+graph
              cleanup to finish_optimization_passes.
              * toplev.h (init_optimization_passes, finish_optimization_passes,
              enable_rtl_dump_file): Declare.
      
      From-SVN: r78561
      Richard Henderson committed
    • attrib10.C: Mark for warning. · d0d48b17
              * g++.dg/ext/attrib10.C: Mark for warning.
              * gcc.dg/attr-alias-1.c: New.
      
      From-SVN: r78560
      Richard Henderson committed
    • fold-const.c (fold): Revert 2004-02-25 change. · 288dc1ea
      	* fold-const.c (fold): Revert 2004-02-25 change.  Use the original
      	operands to build a tree with swapped operands.
      	* expr.c (expand_expr_real) <MAX_EXPR>: Consistently use the
      	'unsignedp' predicate to specify the signedness.
      
      Co-Authored-By: Roger Sayle <roger@eyesopen.com>
      
      From-SVN: r78558
      Eric Botcazou committed
    • 20040208-2.c: Move ... · 7a0a47c7
              * gcc.c-torture/execute/ieee/20040208-2.c: Move ...
              * gcc.c-torture/execute/20040208-2.c: ... it back.
      
      From-SVN: r78556
      Richard Henderson committed
    • c-decl.c, [...]: Fix comment typos and formatting. · a1105617
      	* c-decl.c, c-ppoutput.c, combine.c, cppfiles.c, dwarf2out.c,
      	expr.c, fold-const.c, gcc.c, haifa-sched.c, loop-iv.c,
      	params.def, read-rtl.c, rtl.c, rtlanal.c, toplev.c: Fix
      	comment typos and formatting.  Follow spelling conventions.
      
      From-SVN: r78555
      Kazu Hirata committed
    • [multiple changes] · 40fcf31b
      
      2004-02-26  Ian Lance Taylor  <ian@wasabisystems.com>
      
      	* testsuite/demangle/abi_examples/01.cc: Expect error -2.
      	* testsuite/demangle/abi_examples/02.cc: Likewise.
      	* testsuite/demangle/regression/cw-11.cc: Likewise.
      	* testsuite/demangle/regression/cw-16.cc: Change two expected
      	results to match libiberty demangler output.
      
      2004-02-26  Benjamin Kosnik  <bkoz@redhat.com>
      
      	PR libstdc++/10246
              * libsupc++/Makefile.am: Use libiberty demangler.
              (c_sources): Add cp-demangle.c.
              * libsupc++/Makefile.in: Regenerate.
              * src/Makefile.am (sources): Remove demangle.cc.
              * src/Makefile.in: Regenerate.
              * include/Makefile.am (bits_headers): Move demangle.h.
      	(ext_headers): ...here.
              * include/Makefile.in: Regenerate.
              * include/bits/demangle.h: Move...
      	* include/ext/demangle.h: ...here.
              * src/demangle.cc: Remove.
      
      2004-02-26  Benjamin Kosnik  <bkoz@redhat.com>
      
              * include/bits/demangle.h: Add type template parameter to all
              templates with just an Allocator template parameter.
      
      From-SVN: r78553
      Benjamin Kosnik committed
    • rs6000.md: Add fixuns_truncsfsi2 and fix_truncsfsi2. · d095928f
      2004-02-26  Aldy Hernandez  <aldyh@redhat.com>
      
      	* config/rs6000/rs6000.md: Add fixuns_truncsfsi2 and
      	fix_truncsfsi2.
      
      	* config/rs6000/spe.md: Delete spe_efsctuiz.
      	Add spe_fixuns_truncsfsi2.
      	Add spe_fix_truncsfsi2.
      
      [[Split portion of a mixed commit.]]
      
      From-SVN: r78549.2
      Aldy Hernandez committed
    • target-supports.exp (check-iconv-available): New function. · 21526606
      2004-02-26  Eric Christopher  <echristo@redhat.com>
      
      	* lib/target-supports.exp (check-iconv-available): New function.
      	* lib/gcc-dg.exp (dg-require-iconv): New function.
      	Use above.
              * gcc.dg/charset: New directory.
              * gcc.dg/charset/charset.exp: New file.
              * gcc.dg/charset/asm1.c: Ditto.
              * gcc.dg/charset/asm2.c: Ditto.
              * gcc.dg/charset/asm3.c: Ditto.
              * gcc.dg/charset/asm4.c: Ditto.
              * gcc.dg/charset/asm5.c: Ditto.
              * gcc.dg/charset/attribute1.c: Ditto.
              * gcc.dg/charset/attribute2.c: Ditto.
              * gcc.dg/charset/string1.c: Ditto.
              * g++.dg/charset: New directory.
              * g++.dg/dg.exp: Add here. Special options.
              * g++.dg/charset/charset.exp: New file.
              * g++.dg/charset/asm1.c: Ditto.
              * g++.dg/charset/asm2.c: Ditto.
              * g++.dg/charset/asm3.c: Ditto.
              * g++.dg/charset/asm4.c: Ditto.
              * g++.dg/charset/attribute1.c: Ditto.
              * g++.dg/charset/attribute2.c: Ditto.
              * g++.dg/charset/extern1.cc: Ditto.
              * g++.dg/charset/extern2.cc: Ditto.
              * g++.dg/charset/string1.c: Ditto.
      
      2004-02-26  Eric Christopher  <echristo@redhat.com>
      
      	* c-lex.c (c_lex_string_translate): New variable.
      	(lex_string): Use to determine string translation.
      	* c-pragma.h: Prototype.
      	* c-parse.in (start_string_translation): New. Set above.
      	(stop_string_translation): Ditto.
      	(attribute, attribute_list, asm_def, asm_stmt,
      	asm_operand): Use above functions.
      	* cp/parser.c (cp_parser_declaration): Translate strings
      	unless token is RID_EXTERN. Set c_lex_string_translate
      	for recursive use.
      	(cp_parser_asm_definition): Only translate argument strings
      	to asms.
      	(cp_parser_asm_operand_list): Ditto.
      	(cp_parser_attribute_list): Do not translate attribute strings.
      
      From-SVN: r78548
      Eric Christopher committed
    • ltconfig, ltmain.sh: Remove unused files. · 26d8bbbb
      	* ltconfig, ltmain.sh: Remove unused files.
      	* configure.in: Remove bogus extra early invocation of
      	AC_CONFIG_AUX_DIR.
      	* configure: Regenerate.
      	* mkinstalldirs, install-sh, config.sub, config.guess:
      	Remove (now) unused files.
      	* Makefile.in: Regenerate (losing references to vanished
      	files).
      
      From-SVN: r78545
      Nathanael Nerode committed
    • atomicity.h: New, forward declarations for __atomic_add and __exchange_and_add. · 2c5d0ae8
      
      2004-02-25  Benjamin Kosnik  <bkoz@redhat.com>
      
      	* include/bits/atomicity.h: New, forward declarations for __atomic_add
      	and __exchange_and_add.
      	* config/cpu/generic/atomic_word.h: New, typdef for atomic word.
      	* config/cpu/cris/atomic_word.h: Same.
      	* config/cpu/sparc/atomic_word.h: Same.
      	* include/bits/ios_base.h (_Callback_list::_M_remove_reference):
      	Qualifiy with __gnu_cxx.
      	(_Callback_list::_M_add_reference): Same.
      	* include/bits/locale_classes.h (locale::facet::_M_add_reference): Add.
      	(locale::facet::_M_remove_reference): Same.
      	(locale::_Impl::_M_add_reference): Add.
      	(locale::_Impl::_M_remove_reference): Same.
      	* include/bits/basic_string.h (basic_string::_Rep::_M_refcopy): Same.
      	(basic_string::_Rep::_M_dispose): Same.
      	* src/ios.cc (ios_base::xalloc): Same.
      	* src/ios_init.cc (ios_base::Init::Init): Same.
      	(ios_base::Init::~Init): Same.
      	* src/locale.cc (locale::id::_M_id): Same.
      	* config/cpu/i486/atomicity.h: Use __gnu_cxx namespace. Remove
      	static, and inline keyworks.
      	* config/cpu/alpha/atomicity.h: Same.
      	* config/cpu/cris/atomicity.h: Same.
      	* config/cpu/generic/atomicity.h: Same.
      	* config/cpu/hppa/atomicity.h: Same.
      	* config/cpu/i386/atomicity.h: Same.
      	* config/cpu/ia64/atomicity.h: Same.
      	* config/cpu/m68k/atomicity.h: Same.
      	* config/cpu/mips/atomicity.h: Same.
      	* config/cpu/powerpc/atomicity.h: Same.
      	* config/cpu/s390/atomicity.h: Same.
      	* config/cpu/sparc/atomicity.h: Same.
      
      	* src/Makefile.am (host_sources): Add atomicity.cc.
      	(atomicity.cc): New rule.
      	* src/Makefile.in: Regenerate.
      	* include/Makefile.am (host_headers): Remove host atomicity.h.
      	(host_headers): Add atomic_word.h.
      	(bits_headers): Add bits atomicity.h.
      	Change ATOMICITY_INC_SRCDIR to ATOMICITY_SRCDIR.
      	* include/Makefile.in: Regenerate.
      	* configure.host (atomic_word_dir): Add.
      	* configure.ac: Substitute ATOMIC_WORD_SRCDIR. Change
      	ATOMICITY_INC_SRCDIR to ATOMICITY_SRCDIR.
      	* configure: Regenerate.
      	* config/linker-map.gnu: Export __exchange_and_add, and __atomic_add.
      
      	* testsuite/27_io/ios_base/cons/assign_neg.cc: Adjust line numbers.
      	* testsuite/27_io/ios_base/cons/copy_neg.cc: Same.
      
      From-SVN: r78544
      Benjamin Kosnik committed
    • re PR c++/14278 (fails when calling through a function pointer) · 4d5fe289
      	PR c++/14278
      	* parser.c (cp_parser_parameter_declaration_list): Commit
      	to fewer tentative parses.
      
      	PR c++/14278
      	* g++.dg/parse/comma1.C: New test.
      
      From-SVN: r78542
      Mark Mitchell committed
    • re PR c++/14278 (fails when calling through a function pointer) · 93b5da76
      	PR c++/14278
      	* parser.c (cp_parser_parameter_declaration_list): Commit
      	to fewer tentative parses.
      
      	PR c++/14278
      	* g++.dg/parse/comma1.C: New test.
      
      [[Split portion of a mixed commit.]]
      
      From-SVN: r78541.2
      Mark Mitchell committed
    • configure.in: Add CCAS, CCASFLAGS for future automakes. · 7664e6f8
      	* configure.in: Add CCAS, CCASFLAGS for future automakes.
      	* configure, Makefile.in, include/Makefile.in: Regenerate.
      
      From-SVN: r78540
      Nathanael Nerode committed
    • Daily bump. · 2b390edc
      From-SVN: r78537
      GCC Administrator committed
  2. 26 Feb, 2004 22 commits