[Bug 1023783] Re: gcc: error: unable to find a register to spill in class ‘SIREG’

Mikko Rantalainen mikko.rantalainen at peda.net
Thu Jul 12 08:21:23 UTC 2012


** Attachment added: "/tmp/ccjpFmVs.out"
   https://bugs.launchpad.net/bugs/1023783/+attachment/3220758/+files/ccjpFmVs.out

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to gcc-4.4 in Ubuntu.
https://bugs.launchpad.net/bugs/1023783

Title:
  gcc: error: unable to find a register to spill in class ‘SIREG’

Status in “gcc-4.4” package in Ubuntu:
  New

Bug description:
  Steps to reproduce:

  1. git clone git://github.com/mikkorantalainen/tvfilter.git
  2. cd tvfilter
  3. ./configure && make && ./optimize.sh 
  4. Press Enter

  Expected result:

  The code should be build twice (with profiling and again with profiled
  data after running the binary).

  Actual result:

  Compiling optimized binary fails:

  tvf.c: In function ‘parse_options’:
  tvf.c:266: note: file /home/mira/tmp/tvfilter/tvf-tvf.gcda not found, execution counts estimated
  tvf.c:239: error: unable to find a register to spill in class ‘SIREG’
  tvf.c:239: error: this is the insn:
  (insn 10 9 218 2 tvf.c:127 (parallel [
              (set (reg:DI 2 cx [116])
                  (const_int 0 [0x0]))
              (set (reg:DI 1 dx [71])
                  (plus:DI (ashift:DI (reg:DI 2 cx [73])
                          (const_int 3 [0x3]))
                      (reg/f:DI 41 r12 [114])))
              (set (reg:DI 0 ax [115])
                  (plus:DI (ashift:DI (reg:DI 2 cx [73])
                          (const_int 3 [0x3]))
                      (reg/f:DI 0 ax [72])))
              (set (mem/s/c:BLK (reg/f:DI 41 r12 [114]) [14 long_options+0 S384 A64])
                  (mem/s/u/c:BLK (reg/f:DI 0 ax [72]) [14 C.25+0 S384 A256]))
              (use (reg:DI 2 cx [73]))
          ]) 846 {*rep_movdi_rex64} (expr_list:REG_DEAD (reg:DI 2 cx [73])
          (expr_list:REG_DEAD (reg/f:DI 0 ax [72])
              (expr_list:REG_UNUSED (reg:DI 2 cx [116])
                  (expr_list:REG_UNUSED (reg:DI 0 ax [115])
                      (expr_list:REG_UNUSED (reg:DI 1 dx [71])
                          (nil)))))))
  tvf.c:239: confused by earlier errors, bailing out
  Preprocessed source stored into /tmp/ccjpFmVs.out file, please attach this to your bugreport.

  (The file /tmp/ccjpFmVs.out attached below.)

  Additional info:

  The script should first build the TV filter binary (tvf) with
  profiling options, then run it (this will fail unless /dev/video
  provides video source with 2 frame hardware buffer, ignore this) and
  then rebuild the binary again with profiling data.

  I don't mind this issue personally, just reporting it in case it
  matters for somebody else.

  ProblemType: Crash
  DistroRelease: Ubuntu 10.04
  Package: cpp-4.4 4.4.3-4ubuntu5.1
  ProcVersionSignature: Ubuntu 3.0.0-22.36~lucid1-generic 3.0.33
  Uname: Linux 3.0.0-22-generic x86_64
  Architecture: amd64
  CheckboxSubmission: f0bf0101e3df07a87acfbc156f0db03d
  CheckboxSystem: b5acb6c9ca4017b1d44043910f45329d
  Date: Thu Jul 12 11:12:28 2012
  ExecutablePath: /usr/lib/gcc/x86_64-linux-gnu/4.4.3/cc1
  InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release Candidate amd64 (20091020.3)
  SourcePackage: gcc-4.4

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gcc-4.4/+bug/1023783/+subscriptions




More information about the foundations-bugs mailing list