[Bug c++/45409] New: ICE, g++ 4.4.x, -fschedule-insns, unable to find a register to spill in class '*REG'
tbptbp at gmail dot com
gcc-bugzilla@gcc.gnu.org
Thu Aug 26 03:34:00 GMT 2010
I have a project where g++ crashes on most files whenever -fschedule-insns is
mentioned; i've attached one such file.
$ g++ -O1 -std=c++0x -fschedule-insns drv.ii -c
src.core/driver.cc: In member function Âui::events::flags_and_signals_t
ui::<unnamed>::window_private_t::process(ui::events::fixed_queue_t&, bool)Â:
src.core/driver.cc:1078: error: unable to find a register to spill in class
ÂCREGÂ
src.core/driver.cc:1078: error: this is the insn:
(insn 339 462 335 31 src.core/driver.cc:955 (parallel [
(set (reg:DI 6 bp [237])
(ashift:DI (reg:DI 6 bp [238])
(subreg:QI (reg:SI 1 dx [230]) 0)))
(clobber (reg:CC 17 flags))
]) 490 {*ashldi3_1_rex64} (expr_list:REG_DEAD (reg:DI 6 bp [238])
(expr_list:REG_DEAD (reg:SI 1 dx [230])
(expr_list:REG_UNUSED (reg:CC 17 flags)
(nil)))))
src.core/driver.cc:1078: confused by earlier errors, bailing out
Preprocessed source stored into /tmp/ccsQpKys.out file, please attach this to
your bugreport.
$ g++ -v
Using built-in specs.
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu 4.4.3-4ubuntu5'
--with-bugurl=file:///usr/share/doc/gcc-4.4/README.Bugs
--enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --enable-shared
--enable-multiarch --enable-linker-build-id --with-system-zlib
--libexecdir=/usr/lib --without-included-gettext --enable-threads=posix
--with-gxx-include-dir=/usr/include/c++/4.4 --program-suffix=-4.4 --enable-nls
--enable-clocale=gnu --enable-libstdcxx-debug --enable-plugin --enable-objc-gc
--disable-werror --with-arch-32=i486 --with-tune=generic
--enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu
--target=x86_64-linux-gnu
Thread model: posix
gcc version 4.4.3 (Ubuntu 4.4.3-4ubuntu5)
also happens on another machine with
Using built-in specs.
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Debian 4.4.4-8'
--with-bugurl=file:///usr/share/doc/gcc-4.4/README.Bugs
--enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --enable-shared
--enable-multiarch --enable-linker-build-id --with-system-zlib
--libexecdir=/usr/lib --without-included-gettext --enable-threads=posix
--with-gxx-include-dir=/usr/include/c++/4.4 --program-suffix=-4.4 --enable-nls
--enable-clocale=gnu --enable-libstdcxx-debug --enable-objc-gc
--with-arch-32=i586 --with-tune=generic --enable-checking=release
--build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
Thread model: posix
gcc version 4.4.5 20100728 (prerelease) (Debian 4.4.4-8)
--
Summary: ICE, g++ 4.4.x, -fschedule-insns, unable to find a
register to spill in class '*REG'
Product: gcc
Version: 4.4.4
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: tbptbp at gmail dot com
GCC host triplet: x86-64, linux
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45409
More information about the Gcc-bugs
mailing list