[Bug c/63303] Pointer subtraction is broken when using -fsanitize=undefined

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Sep 19 07:26:00 GMT 2014


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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jakub at gcc dot gnu.org

--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Your testcase is definitely not valid C, you can't perform pointer arithmetics
in between pointers that don't point into the same array or one past the last
element in the array.



More information about the Gcc-bugs mailing list