https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102081

David Binderman <dcb314 at hotmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dcb314 at hotmail dot com

--- Comment #2 from David Binderman <dcb314 at hotmail dot com> ---
Might be related:

during GIMPLE pass: modref
bug749.c: In function ‘CopyMatrix3D’:
bug749.c:4:6: internal compiler error: in verify, at ipa-modref-tree.h:335

For this C source code and compiler flag -O3:

typedef double Matrix3D[][3];
Matrix3D *CopyMatrix3D_dest;
int CopyMatrix3D_x;
void CopyMatrix3D(Matrix3D *src) {
  int y;
  CopyMatrix3D_x = 0;
  for (; CopyMatrix3D_x < 3; ++CopyMatrix3D_x) {
    y = 0;
    for (; y < 3; ++y)
      (*CopyMatrix3D_dest)[CopyMatrix3D_x][y] = (*src)[CopyMatrix3D_x][y];
  }
}

Reply via email to