[Bug c++/51029] New: [4.7 Regression] ICE with -std=c++0x
reichelt at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Nov 8 10:21:00 GMT 2011
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51029
Bug #: 51029
Summary: [4.7 Regression] ICE with -std=c++0x
Classification: Unclassified
Product: gcc
Version: 4.7.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: reichelt@gcc.gnu.org
Compiling the following valid code snippet with "-std=c++0x" crashes on trunk
(it works without the flag):
========================
struct A
{
void foo();
};
struct B : virtual A
{
template<int> B()
{
foo();
}
};
========================
bug.cc: In constructor 'B::B()':
bug.cc:10:10: internal compiler error: Segmentation fault
Please submit a full bug report, [etc.]
More information about the Gcc-bugs
mailing list