[Patch, fortran] PR89904 - ICE in gfortran starting with r270045

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

[Patch, fortran] PR89904 - ICE in gfortran starting with r270045

Harald Anlauf-3
Dear all,

my fix for pr85797 and pr83515 came along with a testcase that failed
on powerpc64*-unknown-linux-gnu.  It turned out that the checks for
the arguments to the TRANSFER intrinsic had to be tightened, i.e. not
to allow some of the tests.  This patch revises the checks to a version
as discussed in the PR, and adjusts the testcase accordingly.

Regtests cleanly on x86_64-pc-linux-gnu.  Could someone with access to
powerpc64*-unknown-linux-gnu please verify?  (Thomas?)

OK for trunk (and affected backports)?

Thanks,
Harald

2019-04-02  Harald Anlauf  <[hidden email]>

        PR fortran/89004
        * check.c (gfc_check_transfer): Reject procedures as actual
        arguments for SOURCE and MOLD of TRANSFER intrinsic.

2019-04-02  Harald Anlauf  <[hidden email]>

        PR fortran/89004
        * gfortran.dg/pr85797.f90: Adjust testcase.


patch-pr89004 (1K) Download Attachment
patch-pr89004-testcase (1K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: [Patch, fortran] PR89904 - ICE in gfortran starting with r270045

Thomas Koenig-6
Hi Harald,

> OK for trunk (and affected backports)?

Yes, OK. Thanks!

(For cases like this, it often makes sense to wait a week
or so before backporting something, to see if anything
comes up).

Regards

        Thomas