This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/47011] New: ICE when using attribute optimize
- From: "lcastelli at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sun, 19 Dec 2010 10:17:01 +0000
- Subject: [Bug c++/47011] New: ICE when using attribute optimize
- Auto-submitted: auto-generated
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47011
Summary: ICE when using attribute optimize
Product: gcc
Version: 4.4.5
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: lcastelli@gmail.com
Target: x86_64-linux-gnu
When compiling the attached file with:
g++ -O3 -c gcc-crash.cpp
the following error is emitted:
gcc-crash.cpp: In member function âvirtual A B::m()â:
gcc-crash.cpp:7: internal compiler error: in tree_nrv, at tree-nrv.c:143
This happens with gcc 4.4.5 and the current branch on SVN. It doesn't seem to
happen on gcc 4.5.