]> git.ipfire.org Git - thirdparty/gcc.git/commit
Fortran: Fix function attributes [PR100132]
authorJosé Rui Faustino de Sousa <jrfsousa@gmail.com>
Mon, 19 Sep 2022 20:00:45 +0000 (22:00 +0200)
committerHarald Anlauf <anlauf@gmx.de>
Sat, 1 Oct 2022 18:12:50 +0000 (20:12 +0200)
commit9de83c0939dabdbefcb88dfef3ad7caf932951ec
treefb0fe316a27977e105c03d52d058e8663ab19e18
parent1aa9ec7a030698f9a842c98a3e5b834b9f3662e3
Fortran: Fix function attributes [PR100132]

gcc/fortran/ChangeLog:

PR fortran/100132
* trans-types.cc (create_fn_spec): Fix function attributes when
passing polymorphic pointers.

gcc/testsuite/ChangeLog:

PR fortran/100132
* gfortran.dg/PR100132.f90: New test.

(cherry picked from commit be60aa5b608b5f09fadfeff852a46589ac311a42)
gcc/fortran/trans-types.cc
gcc/testsuite/gfortran.dg/PR100132.f90 [new file with mode: 0644]