]> gcc.gnu.org Git - gcc.git/commit
Fortran: error recovery while simplifying intrinsic UNPACK [PR107054]
authorHarald Anlauf <anlauf@gmx.de>
Tue, 27 Sep 2022 18:54:28 +0000 (20:54 +0200)
committerHarald Anlauf <anlauf@gmx.de>
Tue, 27 Sep 2022 19:39:40 +0000 (21:39 +0200)
commit78bc6497fc61bbdacfb416ee0246a775360d9af6
tree543d926b6e3888e66f28c45c42d4b28df06137f0
parente73d9fcafbd07bc3714fbaf8a82db71d50015c92
Fortran: error recovery while simplifying intrinsic UNPACK [PR107054]

gcc/fortran/ChangeLog:

PR fortran/107054
* simplify.cc (gfc_simplify_unpack): Replace assert by condition
that terminates simplification when there are not enough elements
in the constructor of argument VECTOR.

gcc/testsuite/ChangeLog:

PR fortran/107054
* gfortran.dg/pr107054.f90: New test.
gcc/fortran/simplify.cc
gcc/testsuite/gfortran.dg/pr107054.f90 [new file with mode: 0644]
This page took 0.056075 seconds and 5 git commands to generate.