[Bug tree-optimization/59817] ICE in extract_affine_chrec with -O2 -ftree-loop-linear

asolokha at gmx dot com gcc-bugzilla@gcc.gnu.org
Tue Apr 8 03:55:00 GMT 2014


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

Arseny Solokha <asolokha at gmx dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |asolokha at gmx dot com

--- Comment #2 from Arseny Solokha <asolokha at gmx dot com> ---
The following testcase is another way to trigger this segfault:

int kd;

void
n2(void)
{
  static int so;
  static short int i5;
  int wj;
  int *il;
  int *nk = &so;
  for (wj = 0; wj < 2; ++wj)
    *nk = ((i5 += *il) || kd );
}

I can reproduce it on x86_64 w/ 4.8.2 and 4.9.0-alpha20140406.



More information about the Gcc-bugs mailing list