]> git.ipfire.org Git - thirdparty/gcc.git/commit
fortran: Remove overwrite of polymorphic associate variable offset
authorMikael Morin <morin-mikael@orange.fr>
Tue, 5 Aug 2025 12:58:03 +0000 (14:58 +0200)
committerMikael Morin <mikael@gcc.gnu.org>
Tue, 5 Aug 2025 20:35:07 +0000 (22:35 +0200)
commit14ca0646962f291d1b13497b35061020a97305b4
treecdab8b0aa64dc006eb77f64ba2aaa9bbb9186c76
parent0634bd56978478c567a29841b6f99ac7050764e6
fortran: Remove overwrite of polymorphic associate variable offset

The array descriptor returned by gfc_conv_expr_descriptor should be
usable as is.  No need to overwrite the offset.

gcc/fortran/ChangeLog:

* trans-stmt.cc (trans_associate_var): Remove overwrite of
the polymorphic associate variable's array descriptor offset.
gcc/fortran/trans-stmt.cc