https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109753
Marek Polacek <mpolacek at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mpolacek at gcc dot gnu.org --- Comment #3 from Marek Polacek <mpolacek at gcc dot gnu.org> --- (In reply to Andrew Pinski from comment #2) > Reduced: > ``` > #pragma GCC target("avx2") > struct aa { > __attribute__((__always_inline__)) aa() noexcept {} > }; > aa _M_impl; > ``` This started to give an error with commit bef8491a658de9e8920acaeff6cb76ef4e946e2c Author: Sriraman Tallam <tmsri...@google.com> Date: Tue Jun 18 22:45:03 2013 +0000 Emit errors when always_inline functions cannot be inlined in -O0 mode. * tree-inline.c (expand_call_inline): Allow the error to be flagged in early inline pass. * ipa-inline.c (inline_always_inline_functions): Pretend always_inline functions are inlined during failures to flag an error. * gcc.target/i386/inline_error.c: New test. * gcc.c-torture/compile/pr44043.c: Fix test to expect an error. * gcc.c-torture/compile/pr43791.c: Fix test to expect an error. From-SVN: r200179 I think the original problem must have been triggered by some libstdc++ change.