[Bug sanitizer/91439] Wrong debug information with -fsanitize=address

marxin at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Aug 14 13:56:00 GMT 2019


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

Martin Liška <marxin at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |WORKSFORME

--- Comment #4 from Martin Liška <marxin at gcc dot gnu.org> ---
Ah, we've got the code there.

So one needs to either use:

-fvar-tracking-assignments
-O which will enable -fvar-tracking-assignments automatically


More information about the Gcc-bugs mailing list