This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/59832] [c++11] ICE in reshape_init_class with initializer list
- From: "gcc-bugzilla at zulan dot net" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 11 Jul 2016 16:05:31 +0000
- Subject: [Bug c++/59832] [c++11] ICE in reshape_init_class with initializer list
- Auto-submitted: auto-generated
- References: <bug-59832-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59832
gcc-bugzilla at zulan dot net changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |gcc-bugzilla at zulan dot net
--- Comment #12 from gcc-bugzilla at zulan dot net ---
This shows the same error (tested with gcc 6.1.1):
#include<array>
template<class T>
void foo(T bar) {
constexpr auto baz = std::array<int, 1>{{1}};
}
int main() {
foo(13);
}