re PR ipa/81007 (ICE with virtual function in broken class)
authorRichard Biener <rguenther@suse.de>
Fri, 9 Jun 2017 09:35:05 +0000 (09:35 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Fri, 9 Jun 2017 09:35:05 +0000 (09:35 +0000)
commit6ba856d450119e438b62d944e646e929f16da4c6
tree72f1ea66f9a815cdd2ed027a0dcf236080f5fff8
parent903c723b9d931abb6de044135c3bd4f44559fca7
re PR ipa/81007 (ICE with virtual function in broken class)

2017-06-09  Richard Biener  <rguenther@suse.de>

PR middle-end/81007
* ipa-polymorphic-call.c
(ipa_polymorphic_call_context::restrict_to_inner_class):
Skip FIELD_DECLs with error_mark_node type.
* passes.def (all_lowering_passes): Run pass_build_cgraph_edges
last again.

* g++.dg/pr81007.C: New testcase.

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