From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3204 invoked by alias); 4 May 2006 17:26:57 -0000 Received: (qmail 3134 invoked by uid 48); 4 May 2006 17:26:43 -0000 Date: Thu, 04 May 2006 17:26:00 -0000 Subject: [Bug c/27432] New: -fschedule-insns -O2 -march=athlon cause compilation error X-Bugzilla-Reason: CC Message-ID: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "master_up at post dot cz" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2006-05/txt/msg00408.txt.bz2 List-Id: 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