[Bug c++/83394] [8 Regression] always_inline vs. noinline no longer diagnosed
msebor at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Dec 19 22:13:00 GMT 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83394
Martin Sebor <msebor at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution|--- |FIXED
--- Comment #7 from Martin Sebor <msebor at gcc dot gnu.org> ---
The warning has been restored in r255844. GCC now prints:
a.c:5:18: warning: ignoring attribute ‘always_inline’ because it conflicts with
attribute ‘noinline’ [-Wattributes]
A::operator int ()
^
a.c:2:33: note: previous declaration here
__attribute__((__noinline__)) operator int ();
^~~~~~~~
More information about the Gcc-bugs
mailing list