[Bug c++/97681] noinline attribute ignored on constexpr function

pinskia at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Nov 29 02:05:54 GMT 2021


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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |wrong-debug
           See Also|                            |https://gcc.gnu.org/bugzill
                   |                            |a/show_bug.cgi?id=93008

--- Comment #8 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Plus newer versions of C++ are relaxing constexpr even more and GCC added
-fimplicit-constexpr which enables implicit constexpr for inline functions. 

Also constexpr have an implicit inline too, see PR 93008.


More information about the Gcc-bugs mailing list