This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/53494] [4.7/4.8 Regression] ICE with invalid initializer list
- From: "paolo.carlini at oracle dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 28 May 2012 16:11:29 +0000
- Subject: [Bug c++/53494] [4.7/4.8 Regression] ICE with invalid initializer list
- Auto-submitted: auto-generated
- References: <bug-53494-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53494
--- Comment #8 from Paolo Carlini <paolo.carlini at oracle dot com> 2012-05-28 16:11:29 UTC ---
"correctly rejects it" in general means "per the ISO C++ Standard, which we are
implementing, the testcase is invalid with diagnostics required, thus the
compiler is right in rejecting it", thus it doesn't have anything to do with
providing a better, more informative, error message. Just to clarify.
And indeed, I think Jon's analysis is correct. Maybe Daniel has something to
add.