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 tree-optimization/61929] [Graphite]: Banerjee and Omega differ on distance vectors (internal compiler error in compute_affine_dependence)


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


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