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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |7.0
         Resolution|---                         |DUPLICATE
             Status|NEW                         |RESOLVED

--- Comment #8 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
in GCC 7+ we warning and ignore the attribute now:
<source>:1:1: warning: bad option '-fno-lto' to attribute 'optimize'
[-Wattributes]
 __attribute__((optimize("no-lto"))) void foo(void) { }


Dup of bug 61564.

*** This bug has been marked as a duplicate of bug 61564 ***

Reply via email to