http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50276
Jason Merrill jason at gcc dot gnu.org changed:
What|Removed |Added
Status|NEW |RESOLVED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50276
--- Comment #7 from Jason Merrill jason at gcc dot gnu.org 2013-03-05
18:58:41 UTC ---
Author: jason
Date: Tue Mar 5 18:58:36 2013
New Revision: 196472
URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=196472
Log:
PR c++/50276
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50276
Paolo Carlini paolo.carlini at oracle dot com changed:
What|Removed |Added
Keywords||wrong-code
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50276
--- Comment #4 from Paolo Carlini paolo.carlini at oracle dot com 2012-01-03
23:01:53 UTC ---
But actually the test in Comment #1 (and #3) is rejected if test isn't a
template, thus looks like an accepts-invalid, miscompiled.
The first testcase
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50276
--- Comment #5 from Joel Yliluoma bisqwit at iki dot fi 2012-01-03 23:16:07
UTC ---
It also accepts this code without complaints, which is another error:
templateint i
bool test()
{
if (bool value = this_identifier_has_not_been_declared( []()
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50276
Paolo Carlini paolo.carlini at oracle dot com changed:
What|Removed |Added
Status|UNCONFIRMED |NEW