https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67699
--- Comment #1 from Norgg <gcc at norgg dot org> --- Created attachment 36381 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=36381&action=edit Reduced testcase with const instead of constexpr Futher testing by slowriot found that you can change the constexpr to const and drop the --std switch.