[Bug sanitizer/104937] wrong code with _Complex division and -fsanitize=undefined

2022-03-15 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104937 --- Comment #4 from Jakub Jelinek --- https://gcc.gnu.org/legacy-ml/gcc/2001-11/msg00790.html Regarding the debug info argument in there, this is being discussed for DWARF6.

[Bug sanitizer/104937] wrong code with _Complex division and -fsanitize=undefined

2022-03-15 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104937 --- Comment #3 from Jakub Jelinek --- For _Complex unsigned foo (_Complex unsigned x, _Complex unsigned y) { return y / x; } int main () { _Complex int a = foo (6 + 43i, 6 + 43i); __builtin_printf ("%d %d\n", __real__ a, __imag__ a); re

[Bug sanitizer/104937] wrong code with _Complex division and -fsanitize=undefined

2022-03-15 Thread zsojka at seznam dot cz via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104937 --- Comment #2 from Zdenek Sojka --- There was PR104604 where _Complex unsigned division was fixed, but I didn't notice any other related wrong-code PR.

[Bug sanitizer/104937] wrong code with _Complex division and -fsanitize=undefined

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