[Bug c++/93711] ICE: [[no_unique_address] when constructing via template helper
eteran at alum dot rit.edu
gcc-bugzilla@gcc.gnu.org
Wed Feb 12 18:38:00 GMT 2020
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93711
--- Comment #1 from Evan Teran <eteran at alum dot rit.edu> ---
As a follow-up, it appears that the optimization level is a factor. I only get
the ICE in my builds which don't pass a -O flag.
Here's a live example that can be experimented with:
https://godbolt.org/z/zAEcQd
Adding -Og, -O1, -O2, etc... all make it suddenly work.
More information about the Gcc-bugs
mailing list