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

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |diagnostic
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2019-06-12
     Ever confirmed|0                           |1

--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
GCC trusts you put a valid section name in the section attribute.  I guess we
could diagnose at least empty ones.  The different results are because the
variable is elided with some options and not with some others.

Confirmed for a diagnostic improvement.

Reply via email to