1. 27 Feb, 2004 7 commits
    • 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 33 commits