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

            Bug ID: 92142
           Summary: CFI_setpointer corrupts descriptor
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
          Assignee: unassigned at gcc dot gnu.org
          Reporter: jrfsousa at gmail dot com
  Target Milestone: ---

Created attachment 47060
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47060&action=edit
Code demonstrating problems.

Hi all!

CFI_setpointer does not check if it is setting a pointer and will set any type
of object to the target.

CFI_setpointer will also change the pointer attribute of the pointer to
whatever is the target's attribute corrupting the descriptor.

Thank you very much.

Best regards,
José Rui

Reply via email to