[Bug c++/60924] __attribute__((no_sanitize_address)) and friends should (only?) be allowed at function definitions

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Apr 22 19:50:00 GMT 2014


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

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

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

--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
I don't see why, all other attributes are allowed on both declarations and
definitions, having some attributes that are only allowed on definitions would
be extremely confusing to users, and not really useful.



More information about the Gcc-bugs mailing list