[Bug 1295738]

Venkataramanan-kumar-e 1295738 at bugs.launchpad.net
Tue Apr 1 04:42:22 UTC 2014


This bug occurrs with GCC trunk as well with IRA and reload. 
Can be reproduced with -std=c++11 -fno-tree-dce -fno-omit-frame-pointer -O2 -mno-lra.

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

Title:
  [4.8 Regression] unable to find a register to spill in class 'LO_REGS'

Status in The GNU Compiler Collection:
  New
Status in Linaro GCC:
  New
Status in “gcc-4.8” package in Ubuntu:
  New

Bug description:
  seen with the 4.8 branch on arm-linux-gnueabihf, configured with
  --with-arch=armv7-a --with-fpu=vfpv3-d16 --with-float=hard --with-mode=thumb 

  omitting the -fno-tree-dce works around the issue.  not seen with the
  4.7 branch and trunk 20140306.

  $ g++ -std=c++11 -fPIC -fno-tree-dce -fno-exceptions -fno-omit-frame-pointer -c -g -O2 JITArithmetic32_64.ii
  ../Source/JavaScriptCore/jit/JITArithmetic32_64.cpp: In member function 'void JSC::JIT::emit_op_add(JSC::Instruction*)':
  ../Source/JavaScriptCore/jit/JITArithmetic32_64.cpp:526:1: error: unable to find a register to spill in class 'LO_REGS'
  ../Source/JavaScriptCore/jit/JITArithmetic32_64.cpp:526:1: error: this is the insn:
  (insn 335 334 336 20 (parallel [
              (set (reg:SI 3 r3)
                  (ior:SI (eq:SI (reg/v:SI 112 [ op ])
                          (reg/v:SI 110 [ dst ]))
                      (eq:SI (reg/v:SI 111 [ op ])
                          (reg/v:SI 110 [ dst ]))))
              (clobber (reg:CC 100 cc))
          ]) ../Source/JavaScriptCore/jit/JITArithmetic32_64.cpp:514 295 {*ior_scc_scc}
       (expr_list:REG_UNUSED (reg:CC 100 cc)
          (nil)))
  ../Source/JavaScriptCore/jit/JITArithmetic32_64.cpp:526: confused by earlier errors, bailing out
  Preprocessed source stored into /tmp/ccb0Osgc.out file, please attach this to your bugreport.

To manage notifications about this bug go to:
https://bugs.launchpad.net/gcc/+bug/1295738/+subscriptions



More information about the foundations-bugs mailing list