]> gcc.gnu.org Git - gcc.git/commit
Fortran: fix ICE in gfc_create_module_variable [PR100273]
authorHarald Anlauf <anlauf@gmx.de>
Thu, 5 Sep 2024 19:30:25 +0000 (21:30 +0200)
committerHarald Anlauf <anlauf@gmx.de>
Thu, 5 Sep 2024 19:30:25 +0000 (21:30 +0200)
commit1f462b5072a5e82c35921f7e3bdf3959c4a49dc9
tree32b2cd2d5fd6cdcab09a9eb9bc768c5cd79b93d6
parentd9d34f9a91371dea4bab0b54b2d7f762a6cc23e0
Fortran: fix ICE in gfc_create_module_variable [PR100273]

gcc/fortran/ChangeLog:

PR fortran/100273
* trans-decl.cc (gfc_create_module_variable): Handle module
variable also when it is needed for the result specification
of a contained function.

gcc/testsuite/ChangeLog:

PR fortran/100273
* gfortran.dg/pr100273.f90: New test.
gcc/fortran/trans-decl.cc
gcc/testsuite/gfortran.dg/pr100273.f90 [new file with mode: 0644]
This page took 0.068762 seconds and 6 git commands to generate.