[Bug c++/47503] New: [4.6 Regression] [C++0x] ICE: in adjust_temp_type, at cp/semantics.c:5876 with -fno-elide-constructors
zsojka at seznam dot cz
gcc-bugzilla@gcc.gnu.org
Fri Jan 28 04:03:00 GMT 2011
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47503
Summary: [4.6 Regression] [C++0x] ICE: in adjust_temp_type, at
cp/semantics.c:5876 with -fno-elide-constructors
Product: gcc
Version: 4.6.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: zsojka@seznam.cz
Host: x86_64-pc-linux-gnu
Target: x86_64-pc-linux-gnu
Created attachment 23147
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=23147
reduced testcase
Compiler output:
$ gcc -std=c++0x -fno-elide-constructors testcase.C
testcase.C: In constructor 'B::B(A&)':
testcase.C:10:20: in constexpr expansion of '((B*)this)->B::a.A::A((*(const
A*)aa))'
testcase.C:10:20: internal compiler error: in adjust_temp_type, at
cp/semantics.c:5876
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
Tested revisions:
r169326 - crash
4.5 r168785 - OK
More information about the Gcc-bugs
mailing list