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

Thomas Koenig <tkoenig at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|rtl-optimization            |fortran
            Summary|[7/8/9 Regression] Invalid  |Invalid memory reference at
                   |memory reference at runtime |runtime when calling
                   |when calling subroutine     |subroutine through
                   |through procedure pointer   |procedure pointer

--- Comment #12 from Thomas Koenig <tkoenig at gcc dot gnu.org> ---
(In reply to Thomas Koenig from comment #11)
> r237104 fails for me, testing r237008.

r237007 also fails, as do earlier versions of the compiler.

Not a regression then, but rather a design fault - seems like
we need to do some magic to tell the middle end that we could
access global variables (i.e. make sure that %r10 contains the
right address).

Reply via email to