http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49260
Summary: cpp0x/lambda/lambda-eh2.C fails execution
Product: gcc
Version: 4.7.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
AssignedTo: [email protected]
ReportedBy: [email protected]
Test g++.dg/cpp0x/lambda/lambda-eh2.C fails execution on several targets as
shown by archived test results:
alpha-dec-osf5.1b
arm-none-linux-gnueabi
hppa2.0w-hp-hpux11.11
i686-apple-darwin9
powerpc-apple-darwin9.8.0
powerpc64-unknown-linux-gnu
sh4-unknown-linux-gnu
sparc-sun-solaris2.8, 2.9, 2.10 (but not 2.11)
It also fails for arm-none-eabi, although the build has failed lately.
Testing on arm-none-linux-gnueabi shows that the test has failed on that target
since it was added on 2011-05-23 for r174076, to go with this fix:
2011-05-23 Jason Merrill <[email protected]>
PR c++/47263
* decl.c (use_eh_spec_block): Do use an EH spec block for a
lambda op().