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