https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69373

            Bug ID: 69373
           Summary: GCC emits incorrect warning that "exception of type
                    ‘void (*)()’ will be caught by earlier handler for
                    'void*'"
           Product: gcc
           Version: 6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: eric at efcs dot ca
  Target Milestone: ---

Created attachment 37398
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=37398&action=edit
reproducer

Since function pointers cannot be converted to void* this warning is incorrect
and the "void*" catch site will not be selected.

Reply via email to