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

rguenth at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Mar 16 07:42:04 GMT 2022


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104937

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|sanitizer                   |c

--- Comment #5 from Richard Biener <rguenth at gcc dot gnu.org> ---
Do the division using _Complex double and convert back?  But honestly I think
rejecting _Complex int division is good enough and maybe we should indeed
deprecate all of _Complex int.


More information about the Gcc-bugs mailing list