[Bug c++/42687] [4.4/4.5/4.6/4.7 Regression] The prevention of ADL with the help of parentheses doesn't work
jason at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Apr 27 05:36:00 GMT 2011
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42687
--- Comment #6 from Jason Merrill <jason at gcc dot gnu.org> 2011-04-27 05:17:26 UTC ---
Author: jason
Date: Wed Apr 27 05:17:20 2011
New Revision: 173007
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=173007
Log:
PR c++/42687
* parser.c (cp_parser_primary_expression): Set *idk to
CP_ID_KIND_NONE for a parenthesized identifier.
Added:
trunk/gcc/testsuite/g++.dg/lookup/koenig13.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/parser.c
trunk/gcc/testsuite/ChangeLog
More information about the Gcc-bugs
mailing list