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/17100] Missed opportunity for value range optimization


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-04-24 11:48 -------
i_8: VARYING


  # i_8 = PHI <0(0), i_10(4)>;
<L2>:;
  if (i_8 == -5) goto <L3>; else goto <L8>;


  i_10 = i_8 + 1;
  if (i_10 <= 9) goto <L2>; else goto <L6>;

i_10: [1, 2147483647]

Hmm, isn't i_10 signed still so why between 1 and -1, that does not make sense.

-- 


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


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