[Bug target/97939] ICE on sparc64 with UBsan for "i + 4096" on long: unrecognizable insn during RTL pass: vregs

2020-11-28 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97939 Eric Botcazou changed: What|Removed |Added Target Milestone|--- |9.4 Status|ASSIGNED

[Bug target/97939] ICE on sparc64 with UBsan for "i + 4096" on long: unrecognizable insn during RTL pass: vregs

2020-11-28 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97939 --- Comment #11 from CVS Commits --- The releases/gcc-9 branch has been updated by Eric Botcazou : https://gcc.gnu.org/g:e6280f66297e5886a62dc5f1ae3c6b559868193b commit r9-9078-ge6280f66297e5886a62dc5f1ae3c6b559868193b Author: Eric Botcazou

[Bug target/97939] ICE on sparc64 with UBsan for "i + 4096" on long: unrecognizable insn during RTL pass: vregs

2020-11-28 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97939 --- Comment #10 from CVS Commits --- The releases/gcc-10 branch has been updated by Eric Botcazou : https://gcc.gnu.org/g:25218e34136fb7f89dd1cbb72b2d920546031bfb commit r10-9092-g25218e34136fb7f89dd1cbb72b2d920546031bfb Author: Eric Botcazou

[Bug target/97939] ICE on sparc64 with UBsan for "i + 4096" on long: unrecognizable insn during RTL pass: vregs

2020-11-28 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97939 --- Comment #9 from CVS Commits --- The master branch has been updated by Eric Botcazou : https://gcc.gnu.org/g:c04bd12b06a21ad4a9c432c109ec2a543725ad1b commit r11-5511-gc04bd12b06a21ad4a9c432c109ec2a543725ad1b Author: Eric Botcazou Date:

[Bug target/97939] ICE on sparc64 with UBsan for "i + 4096" on long: unrecognizable insn during RTL pass: vregs

2020-11-27 Thread vincent-gcc at vinc17 dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97939 --- Comment #8 from Vincent Lefèvre --- But note that there is no issue with -fsanitize=undefined on return i - (-4096); So the cause is the transformation of i + 4096 to i - (-4096).

[Bug target/97939] ICE on sparc64 with UBsan for "i + 4096" on long: unrecognizable insn during RTL pass: vregs

2020-11-27 Thread vincent-gcc at vinc17 dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97939 --- Comment #7 from Vincent Lefèvre --- For i + 4095: add %g1, 4095, %g1 For i + 4096: sub %g1, -4096, %g1 For i + 4097: sethi %hi(4195328), %g1 srlx%g1, 10, %g1 add %g2, %g1, %g1

[Bug target/97939] ICE on sparc64 with UBsan for "i + 4096" on long: unrecognizable insn during RTL pass: vregs

2020-11-27 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97939 --- Comment #6 from Eric Botcazou --- > Not sure how useful this is but all of the following toss the same ICE : > > long f(long arg){return arg + 4096;} > > long f(long arg){return arg - 4096;} > > long f(long arg){return 4096 +

[Bug target/97939] ICE on sparc64 with UBsan for "i + 4096" on long: unrecognizable insn during RTL pass: vregs

2020-11-26 Thread dclarke at blastwave dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97939 --- Comment #5 from Dennis Clarke --- Not sure how useful this is but all of the following toss the same ICE : long f(long arg){return arg + 4096;} long f(long arg){return arg - 4096;} long f(long arg){return 4096 + arg;}

[Bug target/97939] ICE on sparc64 with UBsan for "i + 4096" on long: unrecognizable insn during RTL pass: vregs

2020-11-26 Thread dclarke at blastwave dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97939 Dennis Clarke changed: What|Removed |Added CC||dclarke at blastwave dot org ---

[Bug target/97939] ICE on sparc64 with UBsan for "i + 4096" on long: unrecognizable insn during RTL pass: vregs

2020-11-23 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97939 Eric Botcazou changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug target/97939] ICE on sparc64 with UBsan for "i + 4096" on long: unrecognizable insn during RTL pass: vregs

2020-11-23 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97939 Eric Botcazou changed: What|Removed |Added Last reconfirmed||2020-11-23 Ever confirmed|0

[Bug target/97939] ICE on sparc64 with UBsan for "i + 4096" on long: unrecognizable insn during RTL pass: vregs

2020-11-22 Thread vincent-gcc at vinc17 dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97939 --- Comment #1 from Vincent Lefèvre --- I forgot: That's a Debian sid machine with Using built-in specs. COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=/usr/lib/gcc/sparc64-linux-gnu/10/lto-wrapper Target: sparc64-linux-gnu Configured with: