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 target/38621] New: [4.3 Regression] sh gcc unable to spill register when building ghostscript-gpl


when building ghostscript-gpl-8.63, gcc-4.3.2 fails:

sh4-unknown-linux-gnu-gcc  -DHAVE_MKSTEMP -DHAVE_HYPOT -DHAVE_FILE64
-DHAVE_MKSTEMP64 -DHAVE_FONTCONFIG -O2 -Wall -Wstrict-prototypes -Wundef
-Wmissing-declarations -Wmissing-prototypes -Wwrite-strings
-Wno-strict-aliasing -fno-builtin -fno-common -DHAVE_STDINT_H
-DGX_COLOR_INDEX_TYPE="unsigned long long" -O2 -m4 -pipe -DGS_DEVS_SHARED
-DGS_DEVS_SHARED_DIR=\"/usr/lib/ghostscript/8.63\" -I./obj -I./src  -o
./obj/gdevifno.o -c ./src/gdevifno.c
./src/gdevifno.c:195: warning: no previous prototype for ?init_p9color?
./src/gdevifno.c:56: warning: ?cmap2rgb? declared ?static? but never defined
./src/gdevifno.c: In function ?inferno_rgb2cmap?:
./src/gdevifno.c:150: error: unable to find a register to spill in class
?R0_REGS?
./src/gdevifno.c:150: error: this is the insn:
(insn:HI 132 192 154 17 ./src/gdevifno.c:148 (set (mem/s:SI (plus:SI
(reg/v/f:SI 8 r8 [orig:183 dev ] [183])
                (reg/f:SI 2 r2 [225])) [3 S4 A32])
        (reg:SI 3 r3 [227])) 172 {movsi_ie} (expr_list:REG_DEAD (reg:SI 3 r3
[227])
        (expr_list:REG_DEAD (reg/f:SI 2 r2 [225])
            (expr_list:REG_DEAD (reg/v/f:SI 8 r8 [orig:183 dev ] [183])
                (expr_list:REG_EQUAL (const_int 1 [0x1])
                    (nil))))))
./src/gdevifno.c:150: confused by earlier errors, bailing out
make: *** [obj/gdevifno.o] Error 1


-- 
           Summary: [4.3 Regression] sh gcc unable to spill register when
                    building ghostscript-gpl
           Product: gcc
           Version: 4.3.2
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: vapier at gentoo dot org
GCC target triplet: sh4-linux-gnu


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


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