[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:21:00 GMT 2011
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42687
--- Comment #7 from Jason Merrill <jason at gcc dot gnu.org> 2011-04-27 05:20:10 UTC ---
Author: jason
Date: Wed Apr 27 05:20:06 2011
New Revision: 173008
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=173008
Log:
PR c++/42687
* parser.c (cp_parser_primary_expression): Set *idk to
CP_ID_KIND_NONE for a parenthesized identifier.
Added:
branches/gcc-4_6-branch/gcc/testsuite/g++.dg/lookup/koenig13.C
Modified:
branches/gcc-4_6-branch/gcc/cp/ChangeLog
branches/gcc-4_6-branch/gcc/cp/parser.c
branches/gcc-4_6-branch/gcc/testsuite/ChangeLog
More information about the Gcc-bugs
mailing list