]> git.ipfire.org Git - thirdparty/gcc.git/commit
Fortran: Fix associate with derived type array construtor [PR117347]
authorAndre Vehreschild <vehre@gcc.gnu.org>
Fri, 13 Dec 2024 08:06:11 +0000 (09:06 +0100)
committerAndre Vehreschild <vehre@gcc.gnu.org>
Tue, 17 Dec 2024 07:12:23 +0000 (08:12 +0100)
commit9684e70952ac159ce0b838533ce4e9c98474e1a8
treead06f8cca8eef218e3de01c0837e848ad2e59620
parent733edbfdd49f934abf48e12c4d415dd23b50b689
Fortran: Fix associate with derived type array construtor [PR117347]

gcc/fortran/ChangeLog:

PR fortran/117347

* primary.cc (gfc_match_varspec): Add array constructors for
guessing their type like with unresolved function calls.

gcc/testsuite/ChangeLog:

* gfortran.dg/associate_71.f90: New test.
gcc/fortran/primary.cc
gcc/testsuite/gfortran.dg/associate_71.f90 [new file with mode: 0644]