Jason Merrill
bc569aa142
pragma-override1.C: Fix target markup.
...
* g++.dg/ext/visibility/pragma-override1.C: Fix target markup.
* g++.dg/ext/visibility/pragma-override2.C: Fix target markup.
From-SVN: r192367
2012-10-11 11:13:28 -04:00
Jason Merrill
e4cc27e5fb
decl.c (grokdeclarator): Set DECL_GNU_TLS_P for static data members, too.
...
* decl.c (grokdeclarator): Set DECL_GNU_TLS_P for static data
members, too.
From-SVN: r192366
2012-10-11 11:13:20 -04:00
Jason Merrill
e8548a47e1
configure.ac (gcc_cv_as_aix_ref): Fix typo.
...
* configure.ac (gcc_cv_as_aix_ref): Fix typo.
* configure: Regenerate.
From-SVN: r192365
2012-10-11 11:13:11 -04:00
Chung-Lin Tang
f959607b40
builtins.c (expand_builtin_thread_pointer): New.
...
2012-10-11 Chung-Lin Tang <cltang@codesourcery.com>
* builtins.c (expand_builtin_thread_pointer): New.
(expand_builtin_set_thread_pointer): New.
(expand_builtin): Add BUILT_IN_THREAD_POINTER,
BUILT_IN_SET_THREAD_POINTER expand cases.
* builtins.def (BUILT_IN_THREAD_POINTER):
New __builtin_thread_pointer builtin.
(BUILT_IN_SET_THREAD_POINTER):
New __builtin_set_thread_pointer builtin.
* optabs.def (get_thread_pointer,set_thread_pointer):
New standard names.
* doc/md.texi (Standard Names): Document get_thread_pointer and
set_thread_pointer patterns.
* config/alpha/alpha.md (get_thread_pointerdi): Rename from load_tp.
(set_thread_pointerdi): Rename from set_tp.
* config/alpha/alpha.c (alpha_legitimize_address_1): Change
gen_load_tp calls to gen_get_thread_pointerdi.
(alpha_builtin): Remove ALPHA_BUILTIN_THREAD_POINTER,
ALPHA_BUILTIN_SET_THREAD_POINTER.
(code_for_builtin): Remove CODE_FOR_load_tp, CODE_FOR_set_tp.
(alpha_init_builtins): Remove __builtin_thread_pointer,
__builtin_set_thread_pointer machine-specific builtins.
(alpha_expand_builtin_thread_pointer): Add hook function for
TARGET_EXPAND_BUILTIN_THREAD_POINTER.
(alpha_expand_builtin_set_thread_pointer): Add hook function for
TARGET_EXPAND_BUILTIN_SET_THREAD_POINTER.
(alpha_fold_builtin): Remove ALPHA_BUILTIN_THREAD_POINTER,
ALPHA_BUILTIN_SET_THREAD_POINTER cases.
* config/arm/arm.md (get_thread_pointersi): New pattern.
* config/arm/arm-protos.h (arm_load_tp): Add extern declaration.
* config/arm/arm.c (arm_load_tp): Remove static.
(arm_builtins): Remove ARM_BUILTIN_THREAD_POINTER.
(arm_init_tls_builtins): Remove function.
(arm_init_builtins): Remove call to arm_init_tls_builtins().
(arm_expand_builtin): Remove ARM_BUILTIN_THREAD_POINTER case.
* config/mips/mips.md (get_thread_pointer<mode>): New pattern.
* config/mips/mips-protos.h (mips_expand_thread_pointer):
Add extern declaration.
* config/mips/mips.c (mips_expand_thread_pointer):
Renamed from mips_get_tp.
(mips_get_tp): New stub calling mips_expand_thread_pointer.
* config/s390/s390.c (s390_builtin,code_for_builtin_64,
code_for_builtin_31,s390_init_builtins,s390_expand_builtin): Remove.
* config/s390/s390.md (get_tp_64,get_tp_31,set_tp_64,set_tp_31):
Remove.
(get_thread_pointer<mode>,set_thread_pointer<mode>):
New, adapted from removed patterns.
* config/xtensa/xtensa.md (get_thread_pointersi):
Renamed from load_tp.
(set_thread_pointersi): Renamed from set_tp.
* config/xtensa/xtensa.c (xtensa_legitimize_tls_address):
Change gen_load_tp calls to gen_get_thread_pointersi.
(xtensa_builtin): Remove XTENSA_BUILTIN_THREAD_POINTER and
XTENSA_BUILTIN_SET_THREAD_POINTER.
(xtensa_init_builtins): Remove __builtin_thread_pointer,
__builtin_set_thread_pointer machine-specific builtins.
(xtensa_fold_builtin): Remove XTENSA_BUILTIN_THREAD_POINTER,
XTENSA_BUILTIN_SET_THREAD_POINTER cases.
(xtensa_expand_builtin): Remove XTENSA_BUILTIN_THREAD_POINTER,
XTENSA_BUILTIN_SET_THREAD_POINTER cases.
From-SVN: r192364
2012-10-11 15:05:44 +00:00
Marc Glisse
0fdce8752b
extend.texi (Vector Extensions): C++ improvements.
...
2012-10-11 Marc Glisse <marc.glisse@inria.fr>
* doc/extend.texi (Vector Extensions): C++ improvements.
* doc/generic.texi (LSHIFT_EXPR, RSHIFT_EXPR): Mixed vector-scalar.
(LT_EXPR, LE_EXPR, GT_EXPR, GE_EXPR, EQ_EXPR, NE_EXPR): Specify
the vector case.
(VEC_COND_EXPR): Document it.
From-SVN: r192363
2012-10-11 14:59:18 +00:00
Paolo Carlini
2ef3fcf7cb
re PR c++/36107 (weak constructor produces invalid asm)
...
2012-10-11 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/36107
* g++.dg/ext/weak5.C: New.
From-SVN: r192361
2012-10-11 14:37:44 +00:00
Marc Glisse
5172408967
re PR testsuite/54868 (gcc.dg/tree-ssa/forwprop-22.c FAILs)
...
2012-10-11 Marc Glisse <marc.glisse@inria.fr>
PR testsuite/54868
* gcc.dg/tree-ssa/forwprop-22.c: Move ...
* gcc.dg/vect/nodump-forwprop-22.c: ... here. Adapt options.
From-SVN: r192359
2012-10-11 13:28:27 +00:00
Paolo Carlini
69b5686085
45713.cc: Tweak.
...
2012-10-11 Paolo Carlini <paolo.carlini@oracle.com>
* testsuite/23_containers/bitset/45713.cc: Tweak.
From-SVN: r192358
2012-10-11 13:24:11 +00:00
Paolo Carlini
56355dc970
45713.cc: Tweak.
...
2012-10-11 Paolo Carlini <paolo.carlini@oracle.com>
* testsuite/23_containers/bitset/45713.cc: Tweak.
From-SVN: r192357
2012-10-11 13:23:33 +00:00
Daniel Krugler
970293de57
sfinae_friendly_1.cc: Update / extend.
...
2012-10-11 Daniel Krugler <daniel.kruegler@googlemail.com>
* testsuite/20_util/common_type/requirements/sfinae_friendly_1.cc:
Update / extend.
* testsuite/20_util/common_type/requirements/sfinae_friendly_2.cc:
Likewise.
* testsuite/20_util/duration/requirements/sfinae_friendly_1.cc:
Likewise.
From-SVN: r192356
2012-10-11 11:45:35 +00:00
Uros Bizjak
945a9c1f6d
sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE instructions for 64bit targets only.
...
* config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
instructions for 64bit targets only.
From-SVN: r192355
2012-10-11 13:44:51 +02:00
Hans-Peter Nilsson
1e2a71c8bf
re PR testsuite/54897 (23_containers/bitset/45713.cc (test for excess errors))
...
PR testsuite/54897
* testsuite/23_containers/bitset/45713.cc: Skip for avr*-*-*
cris*-*-* h8300*-*-* mcore*-*-* moxie*-*-*.
From-SVN: r192354
2012-10-11 11:36:39 +00:00
Eric Botcazou
f5b02f1ec1
c-ada-spec.c (dump_ada_template): Bail out for template declarations declaring something coming from another file.
...
* c-ada-spec.c (dump_ada_template): Bail out for template declarations
declaring something coming from another file.
From-SVN: r192353
2012-10-11 10:29:54 +00:00
Daniel Krugler
770e9be943
sfinae_friendly_1.cc: Update / extend.
...
2012-10-11 Daniel Krugler <daniel.kruegler@googlemail.com>
* testsuite/20_util/common_type/requirements/sfinae_friendly_1.cc:
Update / extend.
* testsuite/20_util/common_type/requirements/sfinae_friendly_2.cc:
Likewise.
* testsuite/20_util/duration/requirements/sfinae_friendly_1.cc:
Likewise.
From-SVN: r192352
2012-10-11 10:27:45 +00:00
Paolo Carlini
cb2bb1ed33
re PR c++/43765 (infinite loop on illegal code)
...
2012-10-11 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/43765
* g++.dg/parse/pr43765.C: New.
From-SVN: r192351
2012-10-11 10:15:49 +00:00
Eric Botcazou
ccf4c02470
re PR testsuite/54867 (gcc.dg/pr44194-1.c FAILs)
...
PR testsuite/54867
* gcc.dg/pr44194-1.c: Tweak regexp to exclude prologue insns.
From-SVN: r192350
2012-10-11 10:11:37 +00:00
Rainer Orth
92257853d0
Fix Solaris symbol versioning (PR libstdc++/54872)
...
PR libstdc++/54872
* config/abi/pre/gnu.ver (GLIBCXX_3.4.11) [!__sun__ && !__svr4__]:
Don't export _ZNSt12system_errorC*.
From-SVN: r192349
2012-10-11 08:38:28 +00:00
Uros Bizjak
d131a4afce
init-2.mm: Tweak errors.
...
* obj-c++.dg/tls/init-2.mm: Tweak errors.
From-SVN: r192348
2012-10-11 09:04:32 +02:00
Paolo Carlini
444d528831
re PR c++/43663 (Can't take a const-ref to a bit field)
...
2012-10-10 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/43663
* g++.dg/init/bitfield3.C: New.
From-SVN: r192347
2012-10-11 02:34:32 +00:00
Terry Guo
9e2a630132
arm.c (arm_arch6m): New variable to denote armv6-m architecture.
...
2012-10-11 Terry Guo <terry.guo@arm.com>
* config/arm/arm.c (arm_arch6m): New variable to denote armv6-m
architecture.
* config/arm/arm.h (TARGET_HAVE_DMB): The armv6-m also has DMB
instruction.
From-SVN: r192346
2012-10-11 02:22:48 +00:00
Hans-Peter Nilsson
da0fe44510
re PR target/54373 (build fails for mmix-knuth-mmixware libobjc GCC_NO_EXECUTABLES)
...
PR target/54373
* configure.ac (out-of-tree linker .hidden support) Set to "no"
for mmix-knuth-mmixware.
* configure: Regenerate.
From-SVN: r192345
2012-10-11 01:36:24 +00:00
Hans-Peter Nilsson
e2769e908a
* configure.ac (out-of-tree linker .hidden support) Set to "no"
...
for mmix-knuth-mmixware.
* configure: Regenerate.
From-SVN: r192344
2012-10-11 01:09:43 +00:00
Hans-Peter Nilsson
56626615c8
configure.ac (gcc_cv_as_comdat_group_group): Default to no.
...
* configure.ac (gcc_cv_as_comdat_group_group): Default to no.
* configure: Regenerate.
From-SVN: r192343
2012-10-11 01:07:27 +00:00
Hans-Peter Nilsson
81179208c0
acinclude.m4 (_gcc_COMPUTE_GAS_VERSION): Allow a single character to quote the VERSION= contents.
...
* acinclude.m4 (_gcc_COMPUTE_GAS_VERSION): Allow a single
character to quote the VERSION= contents. Sanity-check contents.
* configure.ac ("what linker to use" ld version extraction): Ditto.
* configure: Regenerate.
From-SVN: r192342
2012-10-11 00:52:26 +00:00
GCC Administrator
f4ffd85777
Daily bump.
...
From-SVN: r192340
2012-10-11 00:18:01 +00:00
Segher Boessenkool
3cf437d45f
rs6000.h (PRINT_OPERAND_PUNCT_VALID_P): Delete '.'.
...
* config/rs6000/rs6000.h (PRINT_OPERAND_PUNCT_VALID_P):
Delete '.'.
From-SVN: r192337
2012-10-11 01:55:03 +02:00
Jonathan Wakely
ce23073501
Add PR to previous ChangeLog entry.
...
From-SVN: r192336
2012-10-11 00:12:23 +01:00
Jack Howarth
0d184995c4
os_defines.h: Define _GLIBCXX_USE_NANOSLEEP and _GLIBCXX_USE_SCHED_YIELD.
...
2012-10-10 Jack Howarth <howarth@bromo.med.uc.edu>
Jonathan Wakely <jwakely.gcc@gmail.com>
* config/os/bsd/darwin/os_defines.h: Define _GLIBCXX_USE_NANOSLEEP
and _GLIBCXX_USE_SCHED_YIELD.
* acinclude.m4 (GLIBCXX_ENABLE_LIBSTDCXX_TIME): Add comment.
Co-Authored-By: Jonathan Wakely <jwakely.gcc@gmail.com>
From-SVN: r192335
2012-10-11 00:12:10 +01:00
Mark Kettenis
1f726ff876
2012-10-10 Mark Kettenis <kettenis@openbsd.org>
...
* configure.host (*-*-openbsd*) Set cpu_include_dir.
* config/os/bsd/openbsd/ctype_base.h: New file.
* config/os/bsd/openbsd/ctype_configure_char.cc: New file.
* config/os/bsd/openbsd/ctype_inline.h: New file.
* config/os/bsd/openbsd/os_defines.h: New file.
* acinclude.m4 (GLIBCXX_ENABLE_CLOCALE): Use newlib locale model
for OpenBSD.
* configure: Regenerated.
From-SVN: r192334
2012-10-11 00:11:54 +01:00
Ian Lance Taylor
40d15b5bdc
elf.c: Rename all Elf typedefs to start with b_elf, and be all lower case.
...
* elf.c: Rename all Elf typedefs to start with b_elf, and be all
lower case.
From-SVN: r192331
2012-10-10 19:59:00 +00:00
Richard Sandiford
374b86e210
mips32-dsp-accinit-2.c: Fix test description.
...
gcc/testsuite/
* gcc.target/mips/mips32-dsp-accinit-2.c: Fix test description.
From-SVN: r192329
2012-10-10 19:54:07 +00:00
Tobias Burnus
a0ceafd19b
re PR fortran/54878 (libgfortran issues found by the Coverity scanner)
...
2012-10-10 Tobias Burnus <burnus@net-b.de>
PR fortran/54878
* io/unix.c (tempfile_open): Set umask before calling mkstemp.
From-SVN: r192325
2012-10-10 20:42:34 +02:00
Uros Bizjak
fb8bf47a34
sfp-machine.h (FP_RND_NEAREST, [...]): Move to ...
...
* config/i386/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX): Move to ...
* config/i386/32/sfp-machine.h: ... here.
* config/i386/64/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX):
New defines.
From-SVN: r192324
2012-10-10 20:35:32 +02:00
Jakub Jelinek
2de45fb6ee
re PR tree-optimization/54877 (ICE: tree check: expected ssa_name, have real_cst in copy_ssa_name_fn, at tree-ssanames.c:335)
...
PR tree-optimization/54877
* tree-vect-loop.c (vect_is_simple_reduction_1): For MINUS_EXPR
use make_ssa_name instead of copy_ssa_name.
* gcc.dg/torture/pr54877.c: New test.
From-SVN: r192322
2012-10-10 19:47:05 +02:00
Venkataramanan Kumar
b2a8369b55
Move tests written for pr53397 from gcc.dg to gcc.target/i386
...
From-SVN: r192318
2012-10-10 15:31:27 +00:00
Richard Biener
7cb7d208bb
lto-streamer-in.c (lto_input_location_bitpack): Rename to ...
...
2012-10-10 Richard Biener <rguenther@suse.de>
* lto-streamer-in.c (lto_input_location_bitpack): Rename to ...
(lto_input_location): ... this. Kill original.
(input_eh_region): Adjust.
(input_struct_function_base): Likewise.
(lto_read_tree): Likewise.
* lto-streamer-out.c (lto_output_location_bitpack): Rename to ...
(lto_output_location): ... this. Kill original.
(lto_write_tree): Adjust.
(output_eh_region): Likewise.
(output_struct_function_base): Likewise.
* lto-streamer.c (lto_streamer_hooks_init): Initialize location
hooks.
* lto-streamer.h (lto_input_location): Adjust prototype.
(lto_output_location): Likewise.
* streamer-hooks.h (struct streamer_hooks): Adjust prototype
of input_location and output_location hooks.
(stream_input_location): New define.
(stream_output_location): Likewise.
* tree-streamer-in.c (unpack_ts_block_value_fields): Adjust.
(unpack_value_fields): Likewise.
(streamer_read_tree_bitfields): Likewise.
(lto_input_ts_decl_minimal_tree_pointers): Likewise.
(lto_input_ts_exp_tree_pointers): Likewise.
(lto_input_ts_block_tree_pointers): Likewise.
* tree-streamer-out.c (pack_ts_block_value_fields): Adjust.
(streamer_pack_tree_bitfields): Likewise.
(write_ts_decl_minimal_tree_pointers): Likewise.
(write_ts_exp_tree_pointers): Likewise.
(write_ts_block_tree_pointers): Likewise.
* gimple-streamer-in.c (input_phi): Adjust.
(input_gimple_stmt): Likewise.
* gimple-streamer-out.c (output_phi): Adjust.
(output_gimple_stmt): Likewise.
* tree-streamer.h (streamer_read_tree_bitfields): Adjust prototype.
(streamer_pack_tree_bitfields): Likewise.
From-SVN: r192317
2012-10-10 14:27:59 +00:00
Greta Yorsh
8fc5b387d7
pr54782.c: Require effective target pthread.
...
gcc/testsuite
* gcc.dg/pr54782.c: Require effective target pthread.
From-SVN: r192316
2012-10-10 15:05:15 +01:00
Paolo Carlini
42424495b9
re PR c++/53122 (internal compiler error: in unify, at cp/pt.c:15750)
...
2012-10-10 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/53122
* g++.dg/cpp0x/auto35.C: New.
From-SVN: r192312
2012-10-10 13:25:34 +00:00
Hans-Peter Nilsson
74f8062044
* elf.c (elf_add_syminfo_data): Add casts to avoid warning.
...
From-SVN: r192311
2012-10-10 12:55:52 +00:00
Michael Meissner
b85aed950d
Fix signed/unsigned warning; Make some mask types HOST_WIDE_INT; Add more debugging with -mdebug=reg
...
From-SVN: r192310
2012-10-10 12:54:06 +00:00
Paolo Carlini
fe4e4e3bf4
type_traits (__do_common_type_impl): Revert for now LWG 2141-related change.
...
2012-10-10 Paolo Carlini <paolo.carlini@oracle.com>
* include/std/type_traits (__do_common_type_impl): Revert for now
LWG 2141-related change.
* testsuite/20_util/common_type/requirements/typedefs-1.cc: Likewise.
* testsuite/20_util/common_type/requirements/sfinae_friendly_1.cc:
Adjust.
From-SVN: r192308
2012-10-10 12:02:05 +00:00
Rainer Orth
a4a8bca9e7
Added forgotten ChangeLog entry.
...
From-SVN: r192306
2012-10-10 10:56:01 +00:00
Jakub Jelinek
b9d4cbc788
re PR target/51109 (bdver1 scheduler state machine too large)
...
PR target/51109
* config/i386/bdver1.md (bdver1-mult): Remove.
From-SVN: r192305
2012-10-10 12:55:54 +02:00
Dodji Seketeli
1cb2b9a18b
PR c++/53540 - using fails to be equivalent to typedef
...
In the example of this problem report, during the substituting of int
into 'function', tsubst_aggr_type fails for the alias ctxt1. This is
because TYPE_TEMPLATE_INFO looks for the TEMPLATE_INFO of the ctxt1
alias at the wrong place and was wrongly finding it to be NULL.
Namely, it was looking for it in the DECL_TEMPLATE_INFO of the
declaration of the type -- as if ctxt1 was an alias template
specialization -- rather than looking for it in its
CLASSTYPE_TEMPLATE_INFO.
Fixed thus. The other hunks of the patch are a cleanup to make a
better use of alias_template_specialization_p.
Bootstrapped and tested on x86_64-unknown-linux-gnu against trunk.
gcc/cp
* cp-tree.h (TYPE_TEMPLATE_INFO): For an alias that is not an
instance of alias template, don't look for its TEMPLATE_INFO in
its declaration.
(alias_template_specialization_p): Take const_tree.
* pt.c (alias_template_specialization_p): Take a const_tree.
Don't call primary_template_instantiation_p.
(primary_template_instantiation_p): Call
alias_template_specialization_p.
gcc/testsuite/
* g++.dg/cpp0x/alias-decl-24.C: New test.
From-SVN: r192304
2012-10-10 12:43:53 +02:00
Jakub Jelinek
a5fdcc3b9c
re PR middle-end/54879 (gcc/combine.c:12018: warning: comparison always false due to limited range of data type)
...
PR middle-end/54879
* combine.c (count_rtxs): Use RTX_BIN_ARITH resp. RTX_COMM_ARITH
instead of '2' resp. 'c' for GET_RTX_CLASS comparisons.
From-SVN: r192303
2012-10-10 12:41:39 +02:00
Jakub Jelinek
0365ba7cd0
re PR middle-end/54862 (error: comparison between signed and unsigned integer expressions in simplify-rtx.c)
...
PR middle-end/54862
* simplify-rtx.c (simplify_truncation): Compare UINTVAL instead of
INTVAL of second argument with precision resp. op_precision.
From-SVN: r192302
2012-10-10 12:40:35 +02:00
Dodji Seketeli
f739e97a83
PR middle-end/54860 - Make sure attributes hash table is created
...
On targets cris-elf, alpha and sparc (for instance) it can happen that
the attribute_tables variable is empty for fortran. Thus
register_scoped_attributes (called by init_attributes) won't call
register_scoped_attributes, so the hash table member of
scoped_attributes is not created.
Later when we try to e.g, lookup an attribute by calling
lookup_scoped_attribute_spec, that NULL member hash table comes to
byte us as htab_find_with_hash crashes.
This patch fixes this by ensuring in register_scoped_attributes that
the hash table is created.
Tested on cris-elf, x86_64-unknown-linux-gnu against trunk and some
commenters on the bug bootstrapped it on alpha and sparc.
gcc/
* attribs.c (register_scoped_attributes): Ensure the attribute
hash table is created.
From-SVN: r192301
2012-10-10 12:25:03 +02:00
Dodji Seketeli
d072812eb5
Update g++.dg/cpp0x/gen-attrs-{8,36,37}.C as c++11 attributes to types are ignored
...
The current implementation of C++11 attributes forbids them from being
applied to a type unless the type is being declared. I forgot to
adjust g++.dg/cpp0x/gen-attrs-{8,36,37}.C that was being run only on
ia32.
Fixed thus, tested on i386-unknown-linux-gnu and
x86_64-unknown-linux-gnu against trunk.
gcc/testsuite/
* g++.dg/cpp0x/gen-attrs-8.C: Update the test to reflect the fact
that c++11 attributes to types are ignored for now.
* g++.dg/cpp0x/gen-attrs-36.C: Likewise.
* g++.dg/cpp0x/gen-attrs-37.C: Likewise
From-SVN: r192300
2012-10-10 12:24:50 +02:00
Dodji Seketeli
d32350e7a5
Disambiguate nested objc-message-expressions and c++11 attributes
...
A couple of obj-c++ tests were failing[1] because the tokens '[[' can
either be the beginning of a c++11 attribute (that is itself at the
beginning of a statement), or the beginning of a nested
objc-message-expression. This patch resolves the ambiguity by
tentatively parsing the c++11 attribute and if it fails, then consider
the objc-message-expression.
I missed this initially because it didn't occur to me that
--enable-languages=all,ada does not include obj-c++. Shame on me. I
have now updated my compile farm scripts to use
--enable-language=all,ada,obj-c++,go and I
[1]:
FAIL: obj-c++.dg/syntax-error-6.mm -fgnu-runtime (test for errors, line 11)
FAIL: obj-c++.dg/syntax-error-6.mm -fgnu-runtime (test for excess errors)
FAIL: obj-c++.dg/template-8.mm -fgnu-runtime (test for excess errors)
Tested on x86_64-unknown-linux-gnu against trunk.
gcc/cp/
* parser (cp_parser_statement): Parse c++11 attributes tentatively.
(cp_parser_std_attribute_spec_seq): Do not warn too early about
using c++11 attributes in non c++11 mode.
From-SVN: r192299
2012-10-10 12:24:35 +02:00
Paolo Carlini
137456439a
re PR c++/53741 (ICE on lambda calling static template member function with explicit template argument specification)
...
2012-10-10 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/53741
* g++.dg/cpp0x/lambda/lambda-ice9.C: New.
From-SVN: r192298
2012-10-10 10:15:51 +00:00