[Bug target/107174] [ARM] Wrong opcodes *.f64.s32 (signed) in conversion [unsigned ->double] with -O2

2022-10-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107174 --- Comment #2 from Andrew Pinski --- -fsanitize=undefined catches this at runtime: /app/example.cpp:10:28: runtime error: signed integer overflow: 20 - -10 cannot be represented in type 'int' /app/example.cpp:7:28: runtime

[Bug target/107174] [ARM] Wrong opcodes *.f64.s32 (signed) in conversion [unsigned ->double] with -O2

2022-10-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107174 Andrew Pinski changed: What|Removed |Added Resolution|--- |INVALID Status|UNCONFIRMED