https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105774
--- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> --- And one for short: constexpr signed short f(void){ signed short x = 0x7fff; return ++x; } int main() { constexpr auto _ = f(); }
pinskia at gcc dot gnu.org via Gcc-bugs Sat, 22 Oct 2022 13:56:45 -0700
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105774
--- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> --- And one for short: constexpr signed short f(void){ signed short x = 0x7fff; return ++x; } int main() { constexpr auto _ = f(); }