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 middle-end/40281] [4.4/4.5 Regression] -fprefetch-loop-arrays: ICE: in initialize_matrix_A, at tree-data-ref.c:1887



------- Comment #7 from reichelt at gcc dot gnu dot org  2009-11-13 12:32 -------
Even shorter testcase (crashes with "-O -fprefetch-loop-arrays"):

=======================================
void foo(int);

void bar(int n)
{
  int a[2], i, j = 0;

  for (i = 0; i < 2; i += j+1)
    for (j = 0; j < (n ? 1 : 2); ++j)
      foo(a[i] + a[j]);
}
=======================================


-- 

reichelt at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |reichelt at gcc dot gnu dot
                   |                            |org


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


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