http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57670
Bug ID: 57670 Summary: Member-pointer calls should not be redirected to builtin_unreachable Product: gcc Version: 4.9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: middle-end Assignee: unassigned at gcc dot gnu.org Reporter: jamborm at gcc dot gnu.org Created attachment 30335 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=30335&action=edit Testcase We redirect calls to non-functions to builtin_unreachable. However, we should not do that for member-pointer calls because there we pattern-match IL which can use integers to do a VMT lookup. I'm about to test a simple patch.