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 c/30564] ice for legal code with -O3



------- Comment #3 from rguenth at gcc dot gnu dot org  2007-01-23 21:55 -------
Honza, we're not folding the comparison on inlining and later ICE in tree-vrp
because of this (from the einline dump):

  # fp1_5 = PHI <fp1_7(5), fp1_4(8), fp1_4(9)>
<L7>:;
  i_30 = fp0_6;
  goto <bb 14> (<L10>);

<L18>:;
  D.1689_35 = unicount[i_3];
  D.1690_36 = D.1689_35 == 0;
  D.1691_37 = i_3 != i_3;
  D.1692_38 = D.1690_36 && D.1691_37;
  if (D.1692_38) goto <L15>; else goto <L17>;

<L15>:;
  RawOrEnc = 1;


look at the i_3 != i_3


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |hubicka at gcc dot gnu dot
                   |                            |org
             Status|UNCONFIRMED                 |NEW
          Component|tree-optimization           |c
     Ever Confirmed|0                           |1
           Keywords|ice-on-valid-code           |
   Last reconfirmed|0000-00-00 00:00:00         |2007-01-23 21:55:31
               date|                            |
            Summary|[4.3 Regression] ice for    |ice for legal code with -O3
                   |legal code with -O3         |
   Target Milestone|4.3.0                       |---


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


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