This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/67699] Segfault compiling a constexpr array with -fmerge-all-constants -flto
- From: "gcc at norgg dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 23 Sep 2015 22:39:15 +0000
- Subject: [Bug c++/67699] Segfault compiling a constexpr array with -fmerge-all-constants -flto
- Auto-submitted: auto-generated
- References: <bug-67699-4 at http dot gcc dot gnu dot org/bugzilla/>
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.