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

--- Comment #4 from Zhendong Su <su at cs dot ucdavis.edu> ---
I wasn't able to reproduce the ICE using the given testcase (pt.ii) with trunk
revision 202308, but I encountered an ICE (at -O2 and -O3 with -g) in the same
source location. It's reported as 58342 with the following small reduced test: 

----------------------

int a, b, c, d;

int foo (int x, int y)
{
  return y == 0 ? x : 1 % y;
}

int main ()
{
  c = 0 || a;

  for (;;)
    b = foo (d, c) && 1;

  return 0;
}

Reply via email to