https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69823
Bug ID: 69823 Summary: internal compiler error: in create_pw_aff_from_tree, at graphite-sese-to-poly.c:445 Product: gcc Version: 6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: ktkachov at gcc dot gnu.org CC: spop at gcc dot gnu.org Target Milestone: --- Target: aarch64 The following testcase ICEs for me on aarch64 at -O3 -floop-interchange: int a, d, e, f; int b[1]; int c[50]; void fn1 () { for (; d;) for (; d; d++) { f = b[e] || a % e; c[1] = c[e]; } } mycrash.c: In function 'fn1': mycrash.c:5:1: internal compiler error: in create_pw_aff_from_tree, at graphite-sese-to-poly.c:445 fn1 () ^~~ 0x106b5aa create_pw_aff_from_tree $TOP/gcc/graphite-sese-to-poly.c:445 0x106be73 add_condition_to_pbb $TOP/gcc/graphite-sese-to-poly.c:458 0x106be73 add_conditions_to_domain $TOP/gcc/graphite-sese-to-poly.c:525 0x106be73 build_iteration_domains $TOP/gcc/graphite-sese-to-poly.c:1017 0x106c0df build_iteration_domains $TOP/gcc/graphite-sese-to-poly.c:1040 0x106ca99 build_poly_scop(scop*) $TOP/gcc/graphite-sese-to-poly.c:1364 0x1056e2e graphite_transform_loops() $TOP/gcc/graphite.c:319 0x1056fa6 graphite_transforms $TOP/gcc/graphite.c:356 0x1056fa6 execute $TOP/gcc/graphite.c:433 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See <http://gcc.gnu.org/bugs.html> for instructions. This is using ISL 0.15