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

--- Comment #5 from Martin Sebor <msebor at gcc dot gnu.org> ---
Unfortunately, not easily.  By the time attribute arguments are being validated
their location information has been stripped.  Keeping it around is possible
but will likely involve some intrusive changes that would not be appropriate at
this stage of GCC 9 development.  Hopefully we can improve things in GCC 10. 
David Malcolm has been doing great work in the area of diagnostic location
information so maybe it's already on his to-do list.

Reply via email to