[Bug rtl-optimization/13366] ICE using MMX/SSE builtins with -O

uros at kss-loka dot si gcc-bugzilla@gcc.gnu.org
Mon Dec 20 14:55:00 GMT 2004


------- Additional Comments From uros at kss-loka dot si  2004-12-20 14:55 -------
The testcase from the description fails in the same way for current mainline:

gcc -O -msse pr13366.c 
pr13366.c:1: warning: specifying vector types with __attribute__ ((mode)) is
deprecated
pr13366.c:1: warning: use __attribute__ ((vector_size)) instead
pr13366.c: In function 'f':
pr13366.c:9: error: unable to find a register to spill in class 'GENERAL_REGS'
pr13366.c:9: error: this is the insn:
(insn 15 13 17 0 (parallel [
            (set (subreg:SI (reg/v:V4HI 29 mm0 [orig:59 vec ] [59]) 0)
                (and:SI (subreg:SI (reg/v:V4HI 29 mm0 [orig:59 vec ] [59]) 0)
                    (const_int -65536 [0xffff0000])))
            (clobber (reg:CC 17 flags))
        ]) 206 {*andsi_1} (insn_list:REG_DEP_TRUE 13 (nil))
    (expr_list:REG_UNUSED (reg:CC 17 flags)
        (expr_list:REG_UNUSED (reg:CC 17 flags)
            (nil))))
pr13366.c:9: internal compiler error: in spill_failure, at reload1.c:1873
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.

BTW: Changing 1 as suggested in report to 5, does not change the ICE.



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
      Known to fail|                            |4.0.0


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13366



More information about the Gcc-bugs mailing list