This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/61929] [Graphite]: Banerjee and Omega differ on distance vectors (internal compiler error in compute_affine_dependence)
- From: "gcc at crg4 dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 22 Jun 2015 14:29:58 +0000
- Subject: [Bug tree-optimization/61929] [Graphite]: Banerjee and Omega differ on distance vectors (internal compiler error in compute_affine_dependence)
- Auto-submitted: auto-generated
- References: <bug-61929-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61929
--- Comment #7 from Charles Greathouse <gcc at crg4 dot com> ---
Here's a testcase which fails without -fcheck-data-deps. Run
gcc5.1 testcase.c -O2 -ftree-loop-linear -floop-strip-mine
to reproduce:
typedef struct m {
const char * s1;
const char * s2;
} mystruct;
mystruct arr[52];
void main() {}
void generateICE(void) {
int i;
for(i=0; i<52; i++) {
arr[i].s1 = "";
arr[i].s2 = 0;
}
}