Fix wrong assumption in contains_type_p (PR ipa/71207).
authorMartin Liska <mliska@suse.cz>
Tue, 17 Jan 2017 15:11:00 +0000 (16:11 +0100)
committerMartin Liska <marxin@gcc.gnu.org>
Tue, 17 Jan 2017 15:11:00 +0000 (15:11 +0000)
commit4f197ff9a82986bea40e6075c55b45348e4495ef
treeaa831e6b8e4dbe3d5b87f14a88d0c7462426950d
parent408de159d47ec1da831ec7c8fa752c68fad618c8
Fix wrong assumption in contains_type_p (PR ipa/71207).

2017-01-17  Martin Liska  <mliska@suse.cz>

PR ipa/71207
* g++.dg/ipa/pr71207.C: New test.
2017-01-17  Martin Liska  <mliska@suse.cz>

PR ipa/71207
* ipa-polymorphic-call.c (contains_type_p): Fix wrong
assumption and add comment.

From-SVN: r244530
gcc/ChangeLog
gcc/ipa-polymorphic-call.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/ipa/pr71207.C [new file with mode: 0644]