https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104601
--- Comment #5 from Andrew Pinski <pinskia at gcc dot gnu.org> --- But adding noipa to f does though: [[gnu::noipa]] std::optional<int> f() { return 1; }
pinskia at gcc dot gnu.org via Gcc-bugs Fri, 18 Feb 2022 15:19:51 -0800
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104601
--- Comment #5 from Andrew Pinski <pinskia at gcc dot gnu.org> --- But adding noipa to f does though: [[gnu::noipa]] std::optional<int> f() { return 1; }