This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/53494] [4.7/4.8 Regression] ICE with invalid initializer list


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]