Use -march=athlon-xp -O2 -fschedule-insns
or -march=athlon -O2 -fschedule-insns

gcc version where REPRODUCED:
gcc-3.4-20060307
gcc (GCC) 3.4.6 (Gentoo 3.4.6-r1, ssp-3.4.5-1.0, pie-8.7.9)
-------
NOT REPRODUCED by
gcc-3.3.6


There is one more bug looking much similar but amd64 arch... is better add it
here or create new bug???


gcc ERROR------:
gcc: warning: -pipe ignored because -save-temps specified
via_mode.c: In function `ViaMonitorRangesCombine':
via_mode.c:1366: error: unable to find a register to spill in class `AD_REGS'
via_mode.c:1366: error: this is the insn:
(insn:HI 6 27 4 0 (set (reg/v:SI 62 [ twocount ])
        (mem/f:SI (plus:SI (reg/f:SI 16 argp)
                (const_int 4 [0x4])) [11 twocount+0 S4 A32])) 37
{*movsi_1_nointernunit} (nil)
    (expr_list:REG_EQUIV (mem/f:SI (plus:SI (reg/f:SI 16 argp)
                (const_int 4 [0x4])) [11 twocount+0 S4 A32])
        (nil)))
via_mode.c:1366: confused by earlier errors, bailing out


---COMMAND LINE
gcc -DHAVE_CONFIG_H -I. -I. -I.. -DXFree86Server -DIN_MODULE -DXFree86Module \
-DXFree86LOADER -I/usr/include/xorg -I/usr/include/drm -I/usr/include/X11/dri \
-march=athlon-xp -O2 -pipe -fomit-frame-pointer -Wall -fschedule-insns -MT \
via_mode.lo -MD -MP -MF .deps/via_mode.Tpo -c via_mode.c  -fPIC -DPIC -o
.libs/via_mode.o \
-save-temps


-- 
           Summary: -fschedule-insns -O2 -march=athlon cause compilation
                    error
           Product: gcc
           Version: 3.4.6
            Status: UNCONFIRMED
          Severity: minor
          Priority: P3
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: master_up at post dot cz
 GCC build triplet: i686-pc-linux-gnu
  GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu


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

Reply via email to