This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]