http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50363
Bug #: 50363 Summary: internal compiler error: verify_gimple failed Classification: Unclassified Product: gcc Version: 4.7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ AssignedTo: unassig...@gcc.gnu.org ReportedBy: mario-baum...@web.de Created attachment 25245 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=25245 bzipped preprocessed cxx source hi all, attached preprocessed cxx source compilation failed with optimisation level 2 or higher [level 1 and 0 works fine]. mario. > g++ -m32 -O2 -c foo.ii foo.ii:114:123: warning: inline function 'uint32_t boost::interprocess::detail::atomic_cas32(volatile uint32_t*, uint32_t, uint32_t)' used but never defined [enabled by default] foo.ii:114:32: warning: inline function 'void boost::interprocess::detail::atomic_write32(volatile uint32_t*, uint32_t)' used but never defined [enabled by default] foo.ii: In function 'void foo()': foo.ii:120:7: error: type mismatch in pointer plus expression struct node_ptr & restrict struct node_ptr & sizetype pretmp.51_110 = &D.5627 + pretmp.49_111; foo.ii:120:7: error: type mismatch in pointer plus expression struct node_ptr & restrict struct node_ptr & sizetype pretmp.47_116 = &D.5662 + pretmp.45_117; foo.ii:120:7: internal compiler error: verify_gimple failed Please submit a full bug report, with preprocessed source if appropriate. See <http://gcc.gnu.org/bugs.html> for instructions. ========================= system-info ================================= > uname -a Linux ahsoka.intec.dom 2.6.32-131.12.1.el6.x86_64 #1 SMP Sun Jul 31 16:44:56 EDT 2011 x86_64 x86_64 x86_64 GNU/Linux > rpm -qa "glibc*" | grep -e 'glibc-[0-9]' | sort -u glibc-2.12-1.25.el6_1.3.i686 glibc-2.12-1.25.el6_1.3.x86_64 > g++ -v Using built-in specs. COLLECT_GCC=g++ COLLECT_LTO_WRAPPER=/app2/gcc/4.7.0-20110912-svn178775/x86_64/libexec/gcc/x86_64-unknown-linux-gnu/4.7.0/lto-wrapper Target: x86_64-unknown-linux-gnu Configured with: ./configure --prefix=/app2/gcc/4.7.0-20110912-svn178775/x86_64 --enable-languages=c,c++,fortran --disable-nls --with-gmp=/app2/gcc/4.7.0-20110912-svn178775/x86_64/aux --with-mpfr=/app2/gcc/4.7.0-20110912-svn178775/x86_64/aux --with-mpc=/app2/gcc/4.7.0-20110912-svn178775/x86_64/aux --with-ppl=/app2/gcc/4.7.0-20110912-svn178775/x86_64/aux --with-cloog=/app2/gcc/4.7.0-20110912-svn178775/x86_64/aux Thread model: posix gcc version 4.7.0 20110912 (experimental) (GCC) > ld -v GNU ld (GNU Binutils) 2.21.52.20110714