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: unassig...@gcc.gnu.org ReportedBy: zso...@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