[Bug fortran/89987] ICE on GCC trunk and GCC 8 on arm-none-linux-gnueabihf target with “-O1” option

srinath.parvathaneni at arm dot com gcc-bugzilla@gcc.gnu.org
Mon Apr 8 12:23:00 GMT 2019


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

--- Comment #4 from Srinath Parvathaneni <srinath.parvathaneni at arm dot com> ---
(In reply to Thomas Koenig from comment #3)
> Can you update to a revision after r270150 and try again?

On gcc trunk this got fixed as follows.
$ ./arm-none-linux-gnueabihf-gfortran test.f90 -O1
test.f90:2:26:

    2 |   k = transfer (transfer (e, e), 1)
      |                          1
Error: 'SOURCE' argument of 'TRANSFER' intrinsic at (1) must not be a PROCEDURE


More information about the Gcc-bugs mailing list