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/18932] [3.4 regression] -march=pentium4 -O2 causes ICE


------- Additional Comments From hjl at lucon dot org  2004-12-10 20:23 -------
Created an attachment (id=7721)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=7721&action=view)
A testcase

I got

[hjl@gnu-10 tmp]$ /usr/gcc-3.4/bin/gcc -O2 -march=pentium4  -S ~/foo.c
/export/home/hjl/foo.c: In function `amd74xx_ide_dma_check':
/export/home/hjl/foo.c:16297: error: insn does not satisfy its constraints:
(insn 106 48 50 1 (parallel [
	    (set (reg:CCNO 17 flags)
		(compare:CCNO (and:QI (reg/v:QI 4 si [orig:66 speed ] [66])
			(const_int -16 [0xfffffff0]))
		    (const_int 0 [0x0])))
	    (set (reg/v:QI 4 si [orig:66 speed ] [66])
		(and:QI (reg/v:QI 4 si [orig:66 speed ] [66])
		    (const_int -16 [0xfffffff0])))
	]) 205 {*andqi_2} (nil)
    (expr_list:REG_UNUSED (reg/v:QI 4 si [orig:66 speed ] [66])
	(nil)))
/export/home/hjl/foo.c:16297: internal compiler error: in
copyprop_hardreg_forward_1, at regrename.c:1549
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.


-- 


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


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