Hi all,

libstdc++ declares multiple methods on initializer_list as constexpr
unconditionally, but N3471 only added these in C++14, so in C++11 this is
non-conforming. See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113782

This also covers the private constructor of initializer_list, meaning it is
no longer a literal type in C++11. Some unrelated tests that used constexpr
initializer_list implicitly are retargeted to C++14.

Built and tested on x86_64-pc-linux-gnu. Okay for trunk?

Best,
Albon

Attachment: 0001-libstdc-Make-constexpr-initializer_list-a-C-14-featu.patch
Description: Binary data

Reply via email to