This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/40081] New: verify_stmts failed with -O2
- From: "dcb314 at hotmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 9 May 2009 11:06:59 -0000
- Subject: [Bug c++/40081] New: verify_stmts failed with -O2
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
I just tried to compile the Suse Linux package blocxx-2.1.0.342-124.2
with the GNU gcc version 4.5 snapshot 20090507.
The compiler said
dlSharedLibrary.cpp:192: error: invalid rhs for gimple memory store
c$val
c.val;
# .MEM_4 = VDEF <.MEM_2(D)>
c$val ={v} c.val;
dlSharedLibrary.cpp:192: error: invalid rhs for gimple memory store
this_1(D)->m_count.val;
c$val
# .MEM_5 = VDEF <.MEM_4>
this_1(D)->m_count.val ={v} c$val;
dlSharedLibrary.cpp:192: internal compiler error: verify_stmts failed
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
Preprocessed source code attached. Flag -O2 required.
It compiles fine without -O2.
--
Summary: verify_stmts failed with -O2
Product: gcc
Version: 4.5.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: dcb314 at hotmail dot com
GCC host triplet: x86_64-suse-linux
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40081