This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/57670] New: Member-pointer calls should not be redirected to builtin_unreachable
- From: "jamborm at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 21 Jun 2013 13:48:05 +0000
- Subject: [Bug middle-end/57670] New: Member-pointer calls should not be redirected to builtin_unreachable
- Auto-submitted: auto-generated
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.