[Bug target/17451] [3.4 Regression] ICE at insn-output.c:1495 with -O1

belyshev at lubercy dot com gcc-bugzilla@gcc.gnu.org
Sat Sep 18 17:41:00 GMT 2004


------- Additional Comments From belyshev at lubercy dot com  2004-09-18 17:41 -------
// small testcase. Note: this code is valid, so changing keyword.

int foo (int b)
{
  int i;
  char c[2];
  
  for (i = 0; i < 1; i ++);
  
  c[0] += 2;
  return b / c[0] < 0;
}


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
 GCC target triplet|i386-redhat-linux           |i*86-*-*
           Keywords|ice-on-invalid-code         |ice-on-valid-code
      Known to fail|                            |3.4.1 3.4.3
      Known to work|                            |3.3.5
   Last reconfirmed|0000-00-00 00:00:00         |2004-09-18 17:41:31
               date|                            |
            Summary|ICE at insn-output.c:1495   |[3.4 Regression] ICE at
                   |with -O1                    |insn-output.c:1495 with -O1
   Target Milestone|---                         |3.4.3


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



More information about the Gcc-bugs mailing list