[Bug fortran/102891] Passing real part of complex type component using w%z%re to a subroutine gives erroneous value of dummy argument

2021-10-23 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102891 --- Comment #2 from anlauf at gcc dot gnu.org --- Adding to main the lines print *, size (transfer ( w%z%re ,[1.0_dp])) print *, size (transfer ([w%z%re],[1.0_dp])) prints 4 2 whereas e.g. print *, size (transfer

[Bug fortran/102891] Passing real part of complex type component using w%z%re to a subroutine gives erroneous value of dummy argument

2021-10-22 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102891 anlauf at gcc dot gnu.org changed: What|Removed |Added Ever confirmed|0 |1