[Bug c/99810] Wrong const evaluation of 64-bit division

2021-03-29 Thread gcc at cookiesoft dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99810 --- Comment #5 from gcc at cookiesoft dot de --- Alright. Then again, sorry for the noise. I was hunting down a bug and thought I found it with this one... so I have to search further. Thank you everyone!

[Bug c/99810] Wrong const evaluation of 64-bit division

2021-03-29 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99810 Jakub Jelinek changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c/99810] Wrong const evaluation of 64-bit division

2021-03-29 Thread gcc at cookiesoft dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99810 --- Comment #3 from gcc at cookiesoft dot de --- I actually haven't, but yes, you're right that it will print out the correct value. I'm somewhat sorry for the noise. Is there a reason, e.g. performance, that the .word is "wrong"?

[Bug c/99810] Wrong const evaluation of 64-bit division

2021-03-29 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99810 --- Comment #2 from Richard Biener --- mdreorg turns (insn 5 2 18 2 (set (reg:DI 2 r2) (const_int -62135769600 [0xfff1886b6600])) "t.c":2:5 251 {*arm_movdi} (nil)) into (insn 5 2 18 (set (reg:DI 2 r2) (mem:DI (label_re

[Bug c/99810] Wrong const evaluation of 64-bit division

2021-03-29 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99810 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #1