[Bug c/55397] [asan] -faddress-sanitizer should define a CPP macro

hjl at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Nov 21 20:21:00 GMT 2012


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55397

--- Comment #6 from hjl at gcc dot gnu.org <hjl at gcc dot gnu.org> 2012-11-21 20:21:02 UTC ---
Author: hjl
Date: Wed Nov 21 20:20:42 2012
New Revision: 193704

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=193704
Log:
Define __SANITIZE_ADDRESS__ for -fsanitize=address

    PR c/55397
    * cppbuiltin.c (define_builtin_macros_for_compilation_flags):
    Define __SANITIZE_ADDRESS__ for flag_asan.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/cppbuiltin.c



More information about the Gcc-bugs mailing list