[Bug target/18932] [3.4 regression] -march=pentium4 -O2 causes ICE

2004-12-10 Thread rth at gcc dot gnu dot org

--- Additional Comments From rth at gcc dot gnu dot org  2004-12-10 20:25 
---
Do not assign prs to people unless they request it.  Assignment implies
actively working on the problem.  Use cc for advisory.

-- 
   What|Removed |Added

 AssignedTo|rth at redhat dot com   |rth at gcc dot gnu dot org
 Status|UNCONFIRMED |ASSIGNED


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


[Bug target/18932] [3.4 regression] -march=pentium4 -O2 causes ICE

2004-12-10 Thread belyshev at lubercy dot com

--- Additional Comments From belyshev at lubercy dot com  2004-12-10 21:06 
---
// small testcase:

int bar (int p, char c)
{
 foo (p, c);
 if (c  0xF0)
  return p;
}


-- 
   What|Removed |Added

  GCC build triplet|i686-pc-linux-gnu   |
   GCC host triplet|i686-pc-linux-gnu   |
  Known to fail||3.4.4
  Known to work||3.4.3
   Last reconfirmed|-00-00 00:00:00 |2004-12-10 21:06:02
   date||
   Target Milestone|--- |3.4.4


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


[Bug target/18932] [3.4 regression] -march=pentium4 -O2 causes ICE

2004-12-10 Thread hjl at lucon dot org

--- 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=7721action=view)
A testcase

I got

[EMAIL PROTECTED] 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 [0xfff0]))
(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 [0xfff0])))
]) 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