This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c/41531] New: -O1 -fschedule-insns swscale error


x86_64-w64-mingw32-gcc -DHAVE_AV_CONFIG_H -I.. -D_ISOC99_SOURCE
-D_POSIX_C_SOURCE=200112 -O1 -fschedule-insns -MMD -MF swscale.d -MT swscale.o
-save-temps -c -o swscale.o swscale.c

Error on both 4_4-branch and trunk
The error message of 4_4-branch is different:
swscale.c: In function 'sws_scale':
swscale.c:3199: error: unable to find a register to spill in class 'CREG'
swscale.c:3199: error: this is the insn:
(insn 446 466 432 53 swscale.c:3186 (parallel [
            (set (reg:SI 39 r10 [254])
                (ashiftrt:SI (reg:SI 39 r10 [orig:251 <variable>.dstH ] [251])
                    (subreg:QI (reg:SI 43 r14 [orig:255
<variable>.chrDstVSubSample ] [255]) 0)))
            (clobber (reg:CC 17 flags))
        ]) 523 {*ashrsi3_1} (expr_list:REG_DEAD (reg:SI 43 r14 [orig:255
<variable>.chrDstVSubSample ] [255])
        (expr_list:REG_DEAD (reg:SI 39 r10 [orig:251 <variable>.dstH ] [251])
            (expr_list:REG_UNUSED (reg:CC 17 flags)
                (expr_list:REG_EQUAL (ashiftrt:SI (mem/s/j:SI (plus:DI
(reg/v/f:DI 3 bx [orig:103 c ] [103])
                                (const_int 24 [0x18])) [0 <variable>.dstH+0 S4
A64])
                        (subreg:QI (reg:SI 43 r14 [orig:255
<variable>.chrDstVSubSample ] [255]) 0))
                    (nil))))))
swscale.c:3199: confused by earlier errors, bailing out

trunk:
swscale.s: Assembler messages:
swscale.s:19090: Error: suffix or operands invalid for `cmp'
swscale.s:19151: Error: suffix or operands invalid for `cmp'
swscale.s:19320: Error: suffix or operands invalid for `cmp'
swscale.s:19355: Error: suffix or operands invalid for `cmp'


-- 
           Summary: -O1 -fschedule-insns swscale error
           Product: gcc
           Version: 4.5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: t66667 at gmail dot com
 GCC build triplet: i486-slackware-linux
  GCC host triplet: x86_64-w64-mingw32
GCC target triplet: x86_64-w64-mingw32


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]