This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
egcs-971023 with -march=i686 on i686-pc-linux-gnu
- To: egcs at cygnus dot com
- Subject: egcs-971023 with -march=i686 on i686-pc-linux-gnu
- From: Andrew Pollard <andrew at odie dot demon dot co dot uk>
- Date: Wed, 29 Oct 1997 11:05:11 GMT
Compiling gcc with
% ./configure --prefix=/usr/egcs-971023 --with-gnu-as --with-gnu-ld i686-pc-linux-gnu
% cd gcc
% make LANGUAGES=c
% make stage1
% make CC="stage1/xgcc -Bstage1/" CFLAGS="-O2 -g -march=i686"
stage1/xgcc -Bstage1/ -c -DIN_GCC -DUSE_GNULIBC_1 -O2 -g -march=i686 -DHAVE_CONFIG_H -I. -I. -I./config expr.c
expr.c: In function `expand_assignment':
expr.c:3079: internal error--insn does not satisfy its constraints:
(insn/s 1055 1054 341 (parallel[
(set (reg/v:SI 1 %edx)
(if_then_else:SI (ne (cc0)
(const_int 0))
(reg:SI 0 %eax)
(const_int 1)))
(clobber (reg:SI 0 %eax))
] ) 374 {movsicc_1} (insn_list 329 (insn_list 331 (nil)))
(expr_list:REG_DEAD (reg:SI 0 %eax)
(expr_list:REG_UNUSED (reg:SI 0 %eax)
(nil))))
xgcc: Internal compiler error: program cc1 got fatal signal 6
make: *** [expr.o] Error 1
[ linux-2.0.31, libc-5.4.39, binutils-2.8.1.0.15, -fexceptions for libgcc2 ]
% stage1/xgcc -Bstage1/ -c -DIN_GCC -DUSE_GNULIBC_1 -g -march=i686 -DHAVE_CONFIG_H -I. -I. -I./config expr.c
works... as does '-O0', '-O1', '-O2 -fno-force-mem', '-O2 -fno-regmove',
'-O1 -fregmove', '-O1 -fforce-mem', and '-O1 -fforce-mem -fregmove'
Any ideas?
Andrew.
--
Andrew Pollard, Auto Simulations Ltd. UK. | home: andrew@odie.demon.co.uk
2 Milbanke Court, Milbanke Way, Bracknell | work: andrewp@autosim.com
Tel:+44(0)1344 426486x103 Fax:+44(0)1344 426615 | http://www.odie.demon.co.uk