https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100040
Bug ID: 100040
Summary: Wrong code with intent out assumed-rank allocatable
Product: gcc
Version: 11.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: fortran
Assignee: unassigned at gcc dot gnu.org
Reporter: jrfsousa at gmail dot com
Target Milestone: ---
Created attachment 50562
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=50562&action=edit
Fortran code showing problem
Hi All!
With intent out assumed-rank allocatable argument the generated code is missing
is missing the descriptor copy out.
Seen in:
GNU Fortran (GCC) 11.0.1 20210411 (experimental)
GNU Fortran (GCC) 10.3.1 20210411
Thank you very much.
Best regards,
José Rui