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 tree-optimization/19790] equality not noticed when signedness differs.


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-02-06 16:12 -------
Confirmed but guess what my tree combiner fixes the problem:
  # i_24 = PHI <i_9(1), 0(0)>;
<L0>:;
  D.1165_26 = (unsigned int) i_24;
  D.1166_25 = D.1165_26 + 1;
  i_9 = (int) D.1166_25;
  bar (i_9);
  D.1121_5 = D.1165_26 >> 5;
  D.1122_10 = D.1121_5 * 4;
  D.1123_11 = (int *) D.1122_10;
  D.1124_12 = array_8 + D.1123_11;
  D.1125_13 = *D.1124_12;
  D.1126_14 = (long unsigned int) D.1125_13;
  D.1127_15 = i_24 & 31;
  D.1128_16 = 1 << D.1127_15;
  D.1129_17 = D.1126_14 | D.1128_16;
  D.1130_18 = (int) D.1129_17;
  *D.1124_12 = D.1130_18;
  if (D.1166_25 != 11) goto <L0>; else goto <L2>;

Guess that means I need to work more on it.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |pinskia at gcc dot gnu dot
                   |                            |org
  BugsThisDependsOn|                            |15459
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
   Last reconfirmed|0000-00-00 00:00:00         |2005-02-06 16:12:50
               date|                            |


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


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