[Bug c++/77549] [7 Regression] ICE on invalid C++ code that references undeclared variable
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Sep 14 21:55:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77549
--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Wed Sep 14 21:55:10 2016
New Revision: 240148
URL: https://gcc.gnu.org/viewcvs?rev=240148&root=gcc&view=rev
Log:
PR c++/77549
* name-lookup.c (consider_binding_level): Look through TREE_LIST
and OVERLOAD.
* g++.dg/lookup/pr77549.C: New test.
Added:
trunk/gcc/testsuite/g++.dg/lookup/pr77549.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/name-lookup.c
trunk/gcc/testsuite/ChangeLog
More information about the Gcc-bugs
mailing list