[Bug middle-end/57670] New: Member-pointer calls should not be redirected to builtin_unreachable

jamborm at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Jun 21 13:48:00 GMT 2013


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.



More information about the Gcc-bugs mailing list