[Bug middle-end/50913] [4.7 Regression] ICE in scan_tree_for_params_right_scev, at graphite-sese-to-poly.c:633 compiling libgfortran with -floop-interchange -m32

belyshev at depni dot sinp.msu.ru gcc-bugzilla@gcc.gnu.org
Mon Nov 7 11:44:00 GMT 2011


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

Serge Belyshev <belyshev at depni dot sinp.msu.ru> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Target|                            |i686-*-* x86_64-*-*
             Status|UNCONFIRMED                 |NEW
           Keywords|                            |ice-on-valid-code
   Last reconfirmed|                            |2011-11-07
                 CC|                            |belyshev at depni dot
                   |                            |sinp.msu.ru
     Ever Confirmed|0                           |1
            Summary|ICE: compiling libgfortran  |[4.7 Regression] ICE in
                   |for i686-w64-mingw32        |scan_tree_for_params_right_
                   |                            |scev, at
                   |                            |graphite-sese-to-poly.c:633
                   |                            |compiling libgfortran with
                   |                            |-floop-interchange -m32
           Severity|critical                    |normal

--- Comment #3 from Serge Belyshev <belyshev at depni dot sinp.msu.ru> 2011-11-07 11:43:48 UTC ---
Reduced testcase, fails on mainline with -O2 -floop-interchange -m32:

void spread_i1 (int *rptr, int *sptr, int ncopies, int *extent, int rdelta, int
m)
{
  int *dest;
  int n;

  while (m--)
    {
      dest = rptr;
      for (n = 0; n < ncopies; n ++)
        {
          *dest = *sptr;
      dest += rdelta;
        }
      if (extent [n])
    if (n)
          rptr ++;
    }
}



More information about the Gcc-bugs mailing list