Commit Graph

76867 Commits

Author SHA1 Message Date
Paolo Carlini
4fb1953207 ostream.tcc (operator<<(basic_ostream<>&, const char*)): Further fix for throwing widen.
2006-10-14  Paolo Carlini  <pcarlini@suse.de>

	* include/bits/ostream.tcc (operator<<(basic_ostream<>&,
	const char*)): Further fix for throwing widen.

From-SVN: r117730
2006-10-14 10:25:35 +00:00
Paolo Carlini
78a438f161 ostream.tcc (operator<<(basic_ostream<>&, const char*)): Fix thinko in change for libstdc++/28277, avoid memory leaks.
2006-10-14  Paolo Carlini  <pcarlini@suse.de>

	* include/bits/ostream.tcc (operator<<(basic_ostream<>&,
	const char*)): Fix thinko in change for libstdc++/28277,
	avoid memory leaks.

From-SVN: r117729
2006-10-14 09:51:32 +00:00
Eric Botcazou
14ba83a988 pthread-init-2.c (dg-options): Define _POSIX_C_SOURCE=199506L on Solaris 2.5.1 too.
* gcc.dg/pthread-init-2.c (dg-options): Define _POSIX_C_SOURCE=199506L
	on Solaris 2.5.1 too.

From-SVN: r117728
2006-10-14 09:19:50 +00:00
Uros Bizjak
f6096891a2 * config/i386/athlon.md (athlon_fist): Add fisttp.
From-SVN: r117725
2006-10-14 07:22:13 +02:00
David Edelsohn
dc10a47e83 re PR target/29250 (internal compiler error: in extract_insn, at recog.c:2084)
2006-10-13  David Edelsohn  <edelsohn@gnu.org>
            Ian Lance Taylor  <ian@airs.com>

        PR middle-end/29250
        * expr.c (expand_expr_real_1) <NON_LVALUE_EXPR, NOP_EXPR,
        CONVERT_EXPR>: Change EXPAND_SUM modifier to EXPAND_NORMAL when
        recursing.

Co-Authored-By: Ian Lance Taylor <ian@airs.com>

From-SVN: r117724
2006-10-13 23:03:23 -04:00
Kazu Hirata
875e256a3a score.c, score.h: Fix comment typos.
* config/score/score.c, config/score/score.h: Fix comment
	typos.

From-SVN: r117723
2006-10-14 01:55:31 +00:00
Kazu Hirata
b2a433730c intrinsic.texi: Fix typos.
* intrinsic.texi: Fix typos.
	* trans-array.c: Fix a comment typo.

From-SVN: r117722
2006-10-14 01:48:07 +00:00
Kaveh R. Ghazi
0c472e4e46 re PR bootstrap/29402 (Parallel make fails with --disable-bootstrap)
PR bootstrap/29402
	* Makefile.in (ALL_GTFILES_H): Use $(sort ...) instead of
	shell pipeline.

From-SVN: r117721
2006-10-14 01:25:39 +00:00
GCC Administrator
6412924ae6 Daily bump.
From-SVN: r117719
2006-10-14 00:17:16 +00:00
Paolo Carlini
f7ab3fd1dc istream.tcc (operator>>(__istream_type& (*)(__istream_type&)), operator>>(__ios_type& (*)(__ios_type&)), operator>>(ios_base& (*)(ios_base&))): Move...
2006-10-13  Paolo Carlini  <pcarlini@suse.de>

	* include/bits/istream.tcc (operator>>(__istream_type&
	(*)(__istream_type&)), operator>>(__ios_type& (*)(__ios_type&)),
	operator>>(ios_base& (*)(ios_base&))): Move...
	* include/std/std_istream.h: ... here.
	(operator>>(basic_istream<char,>&, unsigned char&),
	operator>>(basic_istream<char,>&, signed char&),
	operator>>(basic_istream<char,>&, unsigned char*),
	operator>>(basic_istream<char,>&, signed char*)): Mark inline.
	* include/bits/ostream.tcc (operator<<(__ostream_type&
	(*)(__ostream_type&)), operator<<(__ios_type& (*)(__ios_type&)),
	operator<<(ios_base& (*)(ios_base&))): Move...
	* include/std/std_ostream.h: ... here.
	(operator<<(basic_ostream<>&, _CharT),
	operator<<(basic_ostream<>&, char),
	operator<<(basic_ostream<char,>&, char),
	operator<<(basic_ostream<char,>&, signed char),
	operator<<(basic_ostream<char,>&, unsigned char),
	operator<<(basic_ostream<>&, const _CharT*),
	operator<<(basic_ostream<char,>&, const char*),
	operator<<(basic_ostream<char,>&, const signed char*),
	operator<<(basic_ostream<char,>&, const unsigned char*),
	endl(basic_ostream<>&), ends(basic_ostream<>&),
	flush(basic_ostream<>&)): Mark inline.

From-SVN: r117715
2006-10-13 22:46:58 +00:00
Eric Christopher
164ea65a27 pr25993.c: Skip for darwin.
2006-10-13  Eric Christopher  <echristo@apple.com>

        * gcc.dg/pr25993.c: Skip for darwin.

From-SVN: r117713
2006-10-13 21:42:36 +00:00
Eric Christopher
42d3177fa0 visibility-11.c: Skip for darwin.
2006-10-13  Eric Christopher  <echristo@apple.com>

        * gcc.dg/visibility-11.c: Skip for darwin.

From-SVN: r117712
2006-10-13 21:41:48 +00:00
Eric Christopher
d23b462292 darwin-weakimport-1.c: Use -fno-asynchronous-unwind-tables.
2006-10-13  Eric Christopher  <echristo@apple.com>

        * gcc.dg/darwin-weakimport-1.c: Use
        -fno-asynchronous-unwind-tables.
        * gcc.dg/darwin-weakimport-3.c: Ditto.

From-SVN: r117711
2006-10-13 21:37:12 +00:00
Eric Christopher
ee4ae28594 darwin.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define.
2006-10-13  Eric Christopher  <echristo@apple.com>

        * config/darwin.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define.

From-SVN: r117710
2006-10-13 21:35:19 +00:00
Carlos O'Donell
5793c070d1 revert: elfos.h (MAX_OFILE_ALIGNMENT): Default to largest alignment supported by 32-bit ELF.
gcc/

2006-10-13  Carlos O'Donell  <carlos@codesourcery.com>

	Revert this change:
	2006-10-13  Carlos O'Donell  <carlos@codesourcery.com>
	* config/elfos.h (MAX_OFILE_ALIGNMENT): Default to largest
	alignment supported by 32-bit ELF.

From-SVN: r117709
2006-10-13 21:28:28 +00:00
Eric Christopher
44ef77c15e darwin.c (darwin_emit_unwind_label): Strip name encoding.
2006-10-13  Eric Christopher  <echristo@apple.com>

        * config/darwin.c (darwin_emit_unwind_label): Strip
        name encoding. Use DECL_ASSEMBLER_NAME_SET_P.

From-SVN: r117708
2006-10-13 21:26:49 +00:00
Richard Guenther
96644abaa5 re PR tree-optimization/29446 (VRP ICE in compare_names)
2006-10-13  Richard Guenther  <rguenther@suse.de>

	PR tree-optimization/29446
	* tree-vrp.c (fix_equivalence_set): Remove.
	(extract_range_from_assert): Do not call fix_equivalence_set.
	(debug_value_range): Print a newline.
	(compare_name_with_value): For equivalence sets with
	inconsistent value ranges conservatively bail out.
	(compare_names): Likewise.

	* gcc.dg/torture/pr29446.c: New testcase.

From-SVN: r117705
2006-10-13 20:09:10 +00:00
Steven G. Kargl
4010308ce5 spacing.m4: Use scalbn[f,l] if ldexp[f,l] is unavailable.
2006-10-13  Steven G. Kargl  <kargl@gcc.gnu.org>

        * m4/spacing.m4: Use scalbn[f,l] if ldexp[f,l] is unavailable.
        * m4/rrspacing.m4: Ditto.
        * generated/spacing_r4.c: Regenerated.
        * generated/spacing_r8.c: Ditto.
        * generated/spacing_r10.c: Ditto.
        * generated/spacing_r16.c: Ditto.
        * generated/rrspacing_r4.c: Ditto.
        * generated/rrspacing_r8.c: Ditto.
        * generated/rrspacing_r10.c: Ditto.
        * generated/rrspacing_r16.c: Ditto.

From-SVN: r117703
2006-10-13 19:08:37 +00:00
Bill Wendling
1453564b3e scope5.C: Changed "Class" to "Klasse".
* g++.old-deja/g++.brendan/scope5.C: Changed "Class" to "Klasse".
	* g++.old-deja/g++.jason/hmc1.C: Likewise.
	* g++.old-deja/g++.jason/cleanup2.C: Likewise.
	* g++.old-deja/g++.law/shadow1.C: Likewise.
	* g++.old-deja/g++.law/ctors10.C: Likewise.
	* g++.dg/debug/namespace1.C: Likewise.
	* g++.dg/inherit/namespace-as-base.C: Likewise.
	* g++.dg/opt/delay-slot-1.C: Likewise.
	* g++.dg/parse/defarg10.C: Likewise.
	* g++.dg/template/ptrmem11.C: Likewise.
	* g++.dg/template/mem_func_ptr.C: Likewise.
	* g++.dg/template/spec19.C: Likewise.

From-SVN: r117702
2006-10-13 18:38:24 +00:00
Brooks Moses
cdfd6b4b9b intrinsic.texi (STAT): Reverted a format in example code to octal; noted this in accompanying string.
* intrinsic.texi (STAT): Reverted a format in example code to
octal; noted this in accompanying string.

From-SVN: r117701
2006-10-13 10:20:50 -07:00
David Edelsohn
d3a95f2752 install.texi (*-ibm-aix*): Add comment about 32-bit GMP and MPFR for gfortran.
* doc/install.texi (*-ibm-aix*): Add comment about 32-bit GMP
        and MPFR for gfortran.

From-SVN: r117700
2006-10-13 12:41:59 -04:00
Carlos O'Donell
d407b27dc1 elfos.h (MAX_OFILE_ALIGNMENT): Default to largest alignment supported by 32-bit ELF.
gcc/

2006-10-13  Carlos O'Donell  <carlos@codesourcery.com>

	* config/elfos.h (MAX_OFILE_ALIGNMENT): Default to largest
	alignment supported by 32-bit ELF.

From-SVN: r117697
2006-10-13 16:01:38 +00:00
Paolo Bonzini
ca58211b7d ../svn-commit.tmp
From-SVN: r117696
2006-10-13 15:59:03 +00:00
Daniel Berlin
e1bb14caf9 tree-flow-inline.h (zero_ssa_operands): Fix comment.
2006-10-13  Daniel Berlin <dberlin@dberlin.org>
	    Ramana Radhakrishnan  <ramana.radhakrishnan@celunite.com>

	* tree-flow-inline.h (zero_ssa_operands): Fix comment.


Co-Authored-By: Ramana Radhakrishnan <ramana.radhakrishnan@celunite.com>

From-SVN: r117694
2006-10-13 14:24:08 +00:00
Paul Thomas
982186b1be re PR fortran/29373 (implicit type declaration and contained function clash)
2006-10-13 Paul Thomas <pault@gcc.gnu.org>

	PR fortran/29373
	* decl.c (get_proc_name, gfc_match_function_decl): Add
	attr.implicit_type to conditions that throw error for
	existing explicit interface and that allow new type-
	spec to be applied.

	PR fortran/29407
	* resolve.c (resolve_fl_namelist): Do not check for
	namelist/procedure conflict, if the symbol corresponds
	to a good local variable declaration.

	PR fortran/27701
	* decl.c (get_proc_name): Replace the detection of a declared
	procedure by the presence of a formal argument list by the
	attributes of the symbol and the presence of an explicit
	interface.

	PR fortran/29232
	* resolve.c (resolve_fl_variable): See if the host association
	of a derived type is blocked by the presence of another type I
	object in the current namespace.

	PR fortran/29364
	* resolve.c (resolve_fl_derived): Check for the presence of
	the derived type for a derived type component.

	PR fortran/24398
	* module.c (gfc_use_module): Check that the first words in a
	module file are 'GFORTRAN module'.

	PR fortran/29422
	* resolve.c (resolve_transfer): Test functions for suitability
	for IO, as well as variables.

	PR fortran/29428
	* trans-expr.c (gfc_trans_scalar_assign): Remove nullify of
	rhs expression.


2006-10-13 Paul Thomas <pault@gcc.gnu.org>

	PR fortran/29373
	* gfortran.dg/implicit_9.f90: New test.

	PR fortran/29407
	* gfortran.dg/namelist_25.f90: New test.

	PR fortran/27701
	* gfortran.dg/same_name_2.f90: New test.

	PR fortran/29232
	* gfortran.dg/host_assoc_types_1.f90: New test.

	PR fortran/29364
	* gfortran.dg/missing_derived_type_1.f90: New test.
	* gfortran.dg/implicit_actual.f90: Comment out USE GLOBAL.

	PR fortran/29422
	* gfortran.dg/alloc_comp_constraint_4.f90: New test.

	PR fortran/29428
	* gfortran.dg/alloc_comp_assign_5.f90: New test.

From-SVN: r117692
2006-10-13 12:51:07 +00:00
Francois-Xavier Coudert
ac677cc889 re PR fortran/29391 ([4.2/4.1 only] LBOUND and UBOUND are broken)
PR fortran/29391

	* trans-intrinsic.c (gfc_conv_intrinsic_bound): Generate correct
	code for LBOUND and UBOUND intrinsics.

	* gfortran.dg/bound_2.f90: New test.

From-SVN: r117691
2006-10-13 12:20:28 +00:00
Paolo Carlini
ec2061a9bf PR libstdc++/28277 (partial: ostream bits 2)
2006-10-13  Paolo Carlini  <pcarlini@suse.de>

	PR libstdc++/28277 (partial: ostream bits 2)
	* include/std/std_ostream.h (basic_ostream<>::_M_insert(const
	char_type*, streamsize)): New.
	(basic_ostream<>::_M_write(char_type, streamsize)): Likewise.
	(operator<<(basic_ostream<>&, _CharT), operator<<(basic_ostream<>&,
	char), operator<<(basic_ostream<>&, const _CharT*),
	operator<<(basic_ostream<>&, const char*)): Use the latter.
	* include/bits/ostream.tcc (basic_ostream<>::_M_insert(const
	char_type*, streamsize)): Define.
	(operator<<(basic_ostream<>&, const char*)): Use the latter.
	(operator<<(basic_ostream<>&, _CharT), operator<<(basic_ostream<>&,
	char), operator<<(basic_ostream<>&, const _CharT*),
	operator<<(basic_ostream<>&, const char*),
	operator<<(basic_ostream<>&, const basic_string<>&)): Remove.
	* include/bits/basic_string.h (operator<<(basic_ostream<>&,
	const basic_string<>&)): Use the latter, implement DR 586.
	* config/abi/pre/gnu.ver: Adjust, export the new _M_insert.
	* docs/html/ext/howto.html: Add an entry for DR 586.
	* testsuite/21_strings/basic_string/inserters_extractors/char/
	28277.cc: New.
	* testsuite/21_strings/basic_string/inserters_extractors/wchar_t/
	28277.cc: Likewise.
	* testsuite/27_io/basic_ostream/inserters_character/char/
	28277-3.cc: Likewise.
	* testsuite/27_io/basic_ostream/inserters_character/char/
	28277-4.cc: Likewise.
	* testsuite/27_io/basic_ostream/inserters_character/wchar_t/
	28277-2.cc: Likewise.
	* testsuite/27_io/basic_ostream/inserters_character/wchar_t/
	28277-3.cc: Likewise.
	* testsuite/27_io/basic_ostream/inserters_character/wchar_t/
	28277-4.cc: Likewise.

From-SVN: r117689
2006-10-13 09:00:31 +00:00
Francois-Xavier Coudert
7d6df107ae defined_operators_1.f90: Add cleanup-modules dg directive.
* gfortran.dg/defined_operators_1.f90: Add cleanup-modules dg
	directive.
	* gfortran.dg/module_private_array_refs_1.f90: Likewise.
	* gfortran.dg/module_proc_external_dummy.f90: Likewise.
	* gfortran.dg/gomp/omp_threadprivate1.f90: Likewise.
	* gfortran.dg/gomp/reduction3.f90: Likewise.
	* gfortran.dg/derived_constructor_comps_1.f90: Likewise.
	* gfortran.dg/dummy_procedure_2.f90: Likewise.
	* gfortran.dg/interface_derived_type_1.f90: Likewise.
	* gfortran.dg/forall_4.f90: Likewise.
	* gfortran.dg/spec_expr_4.f90: Likewise.
	* gfortran.dg/unused_artificial_dummies_1.f90: Likewise.
	* gfortran.dg/forall_5.f90: Likewise.
	* gfortran.dg/open_access_append_2.f90: Add check for
	compile-time warning.

From-SVN: r117688
2006-10-13 08:56:25 +00:00
Mark Mitchell
0b45aeddd8 re PR c++/28506 (ICE with initializers for functions)
PR c++/28506
	* parser.c (function_declarator_p): New function.
	(cp_parser_init_declarator): Use it.
	(cp_parser_member_declaration): Likewise.
	PR c++/28506
	* g++.dg/parse/pure1.C: New test.

From-SVN: r117687
2006-10-13 08:38:43 +00:00
François-Xavier Coudert
16dbbd9957 re PR fortran/21435 (fails to open nonexisting file with status scratch)
PR fortran/21435

	* io.c (compare_to_allowed_values): New function.
	(gfc_match_open): Add checks for constant values of specifiers.
	(gfc_match_close): Add checks for constant values of the STATUS
	specifier.

	* gcc/testsuite/gfortran.dg/io_constraints_3.f90: New test.
	* gcc/testsuite/gfortran.dg/open_access_append_1.f90: Add checks
	for compile-time warnings.
	* gcc/testsuite/gfortran.dg/pr20163-2.f: Likewise.
	* gcc/testsuite/gfortran.dg/iostat_2.f90: Likewise.
	* gcc/testsuite/gfortran.dg/label_4.f90: Delete the temporary
	file.
	* gcc/testsuite/gfortran.dg/direct_io_2.f90: Add a FILE=
	specifier.
	* gcc/testsuite/gfortran.dg/iomsg_1.f90: Add check for
	compile-time warning.

From-SVN: r117685
2006-10-13 08:18:50 +00:00
Jan Hubicka
1a4259dca6 re PR c/28419 (ICE using __FUNCTION__ in invalid code)
PR c/28419
	* c-decl.c (c_make_fname_decl): Do not segfault in case where
	current_function_decl is set but current_function_scope is not.

	* gcc.dg/pr28319.c: New test.

From-SVN: r117684
2006-10-13 07:41:53 +00:00
Mark Mitchell
f19218e504 re PR c++/29318 (ICE: type_info of pointer to VLA)
PR c++/29318
	* rtti.c (get_tinfo_decl): Refuse to create type info objects for
	variably modified types.
	PR c++/29318
	* g++.dg/ext/vla4.C: New test.

From-SVN: r117683
2006-10-13 04:09:41 +00:00
GCC Administrator
fc6fabdfda Daily bump.
From-SVN: r117681
2006-10-13 00:17:15 +00:00
Brooks Moses
680600846d intrinsic.texi (STAT): Fixed a format typo in sample code.
* intrinsic.texi (STAT): Fixed a format typo in sample code.

From-SVN: r117676
2006-10-12 16:22:16 -07:00
Brooks Moses
25f3257418 intrinsic.texi (STAT): Shortened lines in sample code.
* intrinsic.texi (STAT): Shortened lines in sample code.

From-SVN: r117675
2006-10-12 16:13:30 -07:00
Lee Millward
34daf61d57 re PR c++/27961 (ICE on invalid template declaration)
PR c++/27961
	* g++.dg/template/crash60.C: New test.

From-SVN: r117672
2006-10-12 20:06:36 +00:00
Lee Millward
650fcd0729 re PR c++/27961 (ICE on invalid template declaration)
PR c++/27961
       * decl.c (start_decl): Return error_mark_node if a
       function is initialized like a variable.
       (check_var_type): If a variable of field is declared void,
       set the type to error_mark_node.
       (grokdeclarator): Check the return type of check_var_type.
       * class.c (finish_struct_1): Robustify.

       * g++.dg/template/crash60.C: New test.
       * g++.dg/other/large-size-array.C: Adjust error markers.
       * g++.dg/parse/crash27.C: Likewise.
       * g++.dg/template/crash1.C: Likewise.

From-SVN: r117671
2006-10-12 20:02:53 +00:00
Keith Seitz
dc0aeb6069 jvmti-int.h (JVMTI): Declare all members "extern".
* include/jvmti-int.h (JVMTI): Declare all members "extern".
        * jvmti.cc (JVMTI): Define.

From-SVN: r117670
2006-10-12 18:18:52 +00:00
Steve Ellcey
59810d826e re PR testsuite/29093 (gcc.dg/debug/dwarf2/dwarf-file1.c fails on targets that have .loc)
PR testsuite/29093
	* gcc.dg/debug/dwarf2/dwarf-file1.c: Check for ".file".

From-SVN: r117667
2006-10-12 16:52:33 +00:00
Jakub Jelinek
de000d222a re PR preprocessor/28709 (Bad diagnostic pasting tokens with ##)
PR preprocessor/28709
	* macro.c (paste_tokens): Do error reporting here, use BUF with the
	spelled LHS token as opposed to spelling it again.
	(paste_all_tokens): Don't report errors here, just break on failure.

	* gcc.dg/cpp/paste14.c: New test.

From-SVN: r117664
2006-10-12 11:25:59 +02:00
Jie Zhang
1e96b1c34f bfin.md (eh_return): Call emit_jump_insn instead of emit_insn to emit eh_return_internal instruction.
* config/bfin/bfin.md (eh_return): Call emit_jump_insn instead of
	emit_insn to emit eh_return_internal instruction.
	(eh_return_internal): Explicitly set pc.

From-SVN: r117662
2006-10-12 08:52:58 +00:00
Mark Mitchell
f724eac4c5 re PR c++/29175 (ICE on invalid C++ variable length array)
PR c++/29175
	* decl.c (check_initializer): Issue errors about trying to
	initialize arrays whose elements have variable size.
	PR c++/29175
	* g++.dg/init/array24.C: New test.

From-SVN: r117658
2006-10-12 04:35:56 +00:00
Kaveh R. Ghazi
8c166806c8 builtins-config.h: Move Solaris section after inclusion of <sys/types.h>.
* gcc.dg/builtins-config.h: Move Solaris section after inclusion
	of <sys/types.h>.

From-SVN: r117656
2006-10-12 02:33:57 +00:00
Paolo Carlini
d5a92b3e98 2006-10-11 Paolo Carlini <pcarlini@suse.de>
* Revert unintended howto.html change.

From-SVN: r117655
2006-10-12 00:18:39 +00:00
GCC Administrator
e58dedf73a Daily bump.
From-SVN: r117653
2006-10-12 00:17:20 +00:00
Paolo Carlini
73df6a37ea lwg-active.html, [...]: Import Revision 44.
2006-10-11  Paolo Carlini  <pcarlini@suse.de>

	* docs/html/ext/lwg-active.html, lwg-defects.html: Import Revision 44.

From-SVN: r117651
2006-10-12 00:16:48 +00:00
Tobias Schlüter
c4632147f3 gfortran.h (gfc_show_actual_arglist, [...]): Add prototypes.
* gfortran.h (gfc_show_actual_arglist, gfc_show_array_ref,
        gfc_show_array_spec, gfc_show_attr, gfc_show_code,
        gfc_show_components, gfc_show_constructor, gfc_show_equiv,
        gfc_show_expr, gfc_show_namelist, gfc_show_ref, gfc_show_symbol,
        gfc_show_typespec): Add prototypes.
        * dump-parse-tree.c (gfc_show_actual_arglist, gfc_show_array_ref,
        gfc_show_array_spec, gfc_show_attr, gfc_show_code,
        gfc_show_components, gfc_show_constructor, gfc_show_equiv,
        gfc_show_expr, gfc_show_namelist, gfc_show_ref, gfc_show_symbol,
        gfc_show_typespec): Remove 'static' from declaration.

From-SVN: r117646
2006-10-12 00:11:05 +02:00
Benjamin Kosnik
e64690af46 re PR libstdc++/29426 (static __recursive_mutex init vs __GTHREAD_RECURSIVE_MUTEX_INIT_FUNCTION)
2006-10-11  Benjamin Kosnik  <bkoz@redhat.com>

	PR libstdc++/29426
	* libsupc++/guard.cc (get_static_mutex): New. 
	(mutex_wrapper::mutex_wrapper): Use it to get properly initialized
	recursive mutex without ordering issues.

	* src/locale_init.cc (__get_locale_mutex): No need to
	uglify. Change to get_locale_mutex.

From-SVN: r117643
2006-10-11 20:18:36 +00:00
Lee Millward
7a1af5508c add missing test for "typedef auto"
From-SVN: r117642
2006-10-11 19:43:13 +00:00
Lee Millward
2610654299 re PR c++/29024 (storage class specifier accepted for typedef (clause 7.1.1 ; 1))
PR c++/29024
        * cp-tree (struct cp_decl_specifier_seq): Rename to 
        conflicting_specifiers_p
        * parser.c (cp_parser_set_storage_class): Set
        conflicting_specifiers_p for the input decl specifier 
        if a typedef specifier is present. Rename uses of
        multiple_specifiers_p to conflicting_specifiers_p.
        (cp_parser_decl_specifier_seq) <RID_TYPEDEF>: If a storage 
        class specifier has already been set for this declaration, 
        set conflicting_specifiers_p to true on the decl_specs.
        * decl.c (grokdeclarator): Rename uses of
        multiple_specifiers_p to conflicting_specifiers_p.

        * g++.dg/parse/typedef8.C: New test.
        * g++.dg/other/mult-stor1.C: Adjust error markers.

From-SVN: r117641
2006-10-11 19:31:33 +00:00