[Bug c/91232] Adding -fPIC with optimization level > 0 resulting a busy hang in my program
rguenth at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Jul 23 09:02:00 GMT 2019
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91232
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution|--- |INVALID
--- Comment #5 from Richard Biener <rguenth at gcc dot gnu.org> ---
It's the 0 - src computation that invokes undefined behavior and things go
downhill from there. Use 0 - (uint32_t)src here.
More information about the Gcc-bugs
mailing list