]> git.ipfire.org Git - thirdparty/gcc.git/commit
Fortran: ICE in transformational_result [PR108529]
authorHarald Anlauf <anlauf@gmx.de>
Tue, 24 Jan 2023 20:39:43 +0000 (21:39 +0100)
committerHarald Anlauf <anlauf@gmx.de>
Sat, 28 Jan 2023 21:46:58 +0000 (22:46 +0100)
commita8ef7eec0c323a8752ad5babde6e4add4f224898
treeb512a584289071264f38c1c68796c1de9d93cd8c
parent6dc4f984dd14ffad34e0540f2030f553579adefd
Fortran: ICE in transformational_result [PR108529]

gcc/fortran/ChangeLog:

PR fortran/108529
* simplify.cc (simplify_transformation): Do not try to simplify
transformational intrinsic when the ARRAY argument has a NULL shape.

gcc/testsuite/ChangeLog:

PR fortran/108529
* gfortran.dg/pr108529.f90: New test.

(cherry picked from commit 6c96382eed96a9285611f2e3e2e59557094172b8)
gcc/fortran/simplify.cc
gcc/testsuite/gfortran.dg/pr108529.f90 [new file with mode: 0644]