[Bug fortran/100132] Optimization breaks pointer association

cvs-commit at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sat Oct 1 18:55:33 GMT 2022


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100132

--- Comment #8 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-10 branch has been updated by Harald Anlauf
<anlauf@gcc.gnu.org>:

https://gcc.gnu.org/g:8c583871e70f5530907d22a21b0f1d1e7b90e224

commit r10-11015-g8c583871e70f5530907d22a21b0f1d1e7b90e224
Author: José Rui Faustino de Sousa <jrfsousa@gmail.com>
Date:   Mon Sep 19 22:00:45 2022 +0200

    Fortran: Fix function attributes [PR100132]

    gcc/fortran/ChangeLog:

            PR fortran/100132
            * trans-types.c (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)


More information about the Gcc-bugs mailing list