[Bug target/83409] arc: "internal compiler error: in extract_constrain_insn" with -O3
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83409 Roger Sayle changed: What|Removed |Added CC||roger at nextmovesoftware dot com --- Comment #3 from Roger Sayle --- I'm unable to reproduce this with mainline gcc configured with --target=arc-elf. scatterlist.i (and the reduced test case in comment #1), compile fine with -O2, -O3 and -O3 -fno-strict-aliasing. I've also tried -mcpu=em. Can you confirm that this has been fixed for you (so we can close the PR)?
[Bug target/83409] arc: "internal compiler error: in extract_constrain_insn" with -O3
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83409 Martin Liška changed: What|Removed |Added Keywords|needs-bisection | Status|UNCONFIRMED |NEW Last reconfirmed||2018-10-09 Ever confirmed|0 |1 --- Comment #2 from Martin Liška --- Looks very old, I see it also with GCC-5 branch.
[Bug target/83409] arc: "internal compiler error: in extract_constrain_insn" with -O3
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83409 Arnd Bergmann changed: What|Removed |Added Keywords|needs-reduction | --- Comment #1 from Arnd Bergmann --- Reduced to: $ arc-elf-gcc-7.2.1 -O2 -c scatterlist.i struct scatterlist { long sg_magic; long page_link; int offset; }; int a, b; int fn2(void); struct scatterlist g; void fn1(void) { do { struct scatterlist *c = a = 0; for (; a < b; a++) c[a].sg_magic = 1; if (fn2()) while (10) ; } while (1); }