[Bug tree-optimization/61929] [Graphite]: Banerjee and Omega differ on distance vectors (internal compiler error in compute_affine_dependence)

gcc at crg4 dot com gcc-bugzilla@gcc.gnu.org
Mon Jun 22 14:30:00 GMT 2015


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;
        }
}



More information about the Gcc-bugs mailing list