This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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

Yury Gribov <y.gribov at samsung dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |y.gribov at samsung dot com

--- Comment #4 from Yury Gribov <y.gribov at samsung dot com> ---
(In reply to Jakub Jelinek from comment #2)
> 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.

It's not just attributes - type specifiers may also be written only at
declarations and propagated to definitions.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]