This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/47503] New: [4.6 Regression] [C++0x] ICE: in adjust_temp_type, at cp/semantics.c:5876 with -fno-elide-constructors
- From: "zsojka at seznam dot cz" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 28 Jan 2011 00:45:05 +0000
- Subject: [Bug c++/47503] New: [4.6 Regression] [C++0x] ICE: in adjust_temp_type, at cp/semantics.c:5876 with -fno-elide-constructors
- Auto-submitted: auto-generated
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