Bugzilla – Bug 112985
internal compiler error: verify_stmts failed.
Last modified: 2005-09-05 06:26:24 UTC
I get the above error message when trying to compile C++ source file. Lagrange:/usr/src/yast2/source/storage/libstorage/src > g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/include/YaST2 -I/usr/include/evms -g -O2 -Wall -Wformat -MT Disk.lo -MD -MP -MF ".deps/Disk.Tpo" -c -o Disk.o Disk.cc Disk.cc: In member function ‘int Disk::removePartition(unsigned int)’: Disk.cc:6: error: Statement marked for throw, but doesn’t. # lD.44025_1174 = V_MAY_DEF <lD.44025_1648>; # __FUNCTION__D.44063_1173 = V_MAY_DEF <__FUNCTION__D.44063_1652>; D.49692_1301 = notDeleted (dD.49686_1291); Disk.cc:6: internal compiler error: verify_stmts failed. Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://www.suse.de/feedback> for instructions. Lagrange:/usr/src/yast2/source/storage/libstorage/src > The bug goes way when I move the statement "p = partPair( notDeleted );" in line 23 of Disk.cc away from the end of the block. Lagrange:/usr/src/yast2/source/storage/libstorage/src > gcc -v Using built-in specs. Target: i586-suse-linux Configured with: ../configure --enable-threads=posix --prefix=/usr --with-local-prefix=/usr/local --infodir=/usr/share/info --mandir=/usr/share/man --libdir=/usr/lib --libexecdir=/usr/lib --enable-languages=c,c++,objc,f95,java,ada --enable-checking --with-gxx-include-dir=/usr/include/c++/4.0.2 --enable-java-awt=gtk --disable-libjava-multilib --with-slibdir=/lib --with-system-zlib --enable-shared --enable-__cxa_atexit --without-system-libunwind --host=i586-suse-linux Thread model: posix gcc version 4.0.2 20050818 (prerelease) (SUSE Linux)
Created attachment 47555 [details] Minimal version of Disk.cc
Created attachment 47556 [details] preprocesseed file
Fixed with the 20050901 compiler