https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70205
--- Comment #10 from Patrick Palka <ppalka at gcc dot gnu.org> --- Author: ppalka Date: Fri Mar 18 01:26:50 2016 New Revision: 234317 URL: https://gcc.gnu.org/viewcvs?rev=234317&root=gcc&view=rev Log: Fix PR c++/70205 (ICE on valid call to qualified static member function) gcc/cp/ChangeLog: PR c++/70205 * search.c (adjust_result_of_qualified_name_lookup): Don't update the BASELINK_BINFO of DECL if the second call to lookup_base fails. gcc/testsuite/ChangeLog: PR c++/70205 * g++.dg/lookup/pr70205.C: New test. Added: trunk/gcc/testsuite/g++.dg/lookup/pr70205.C Modified: trunk/gcc/cp/ChangeLog trunk/gcc/cp/search.c trunk/gcc/testsuite/ChangeLog