[Bug tree-optimization/108398] tree-object-size trips up with pointer arithmetic if an intermediate result is an invalid pointer
siddhesh at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Jan 13 20:25:39 GMT 2023
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108398
Siddhesh Poyarekar <siddhesh at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |INVALID
Status|UNCONFIRMED |RESOLVED
--- Comment #9 from Siddhesh Poyarekar <siddhesh at gcc dot gnu.org> ---
Original code also had the same UB, which I've sent a PR to fix:
https://github.com/dk/Prima/pull/79
More information about the Gcc-bugs
mailing list