]> git.ipfire.org Git - thirdparty/gcc.git/commit
Fix PR c++/70205 (ICE on valid call to qualified static member function)
authorPatrick Palka <ppalka@gcc.gnu.org>
Fri, 18 Mar 2016 01:26:50 +0000 (01:26 +0000)
committerPatrick Palka <ppalka@gcc.gnu.org>
Fri, 18 Mar 2016 01:26:50 +0000 (01:26 +0000)
commit91914f0adb0b128c74773872a478c3d4da143ab8
tree619c8c890d441716e4c6672640e51e46fdd11dc0
parent753a8910a4c9021ff81e9892ac58c50c0fdb6d69
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.

From-SVN: r234317
gcc/cp/ChangeLog
gcc/cp/search.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/lookup/pr70205.C [new file with mode: 0644]