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

--- Comment #5 from anlauf at gcc dot gnu.org ---
Created attachment 56563
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=56563&action=edit
Partial testsuite fixes

This patch contains obvious fixes to 3 testcases, except for
assumed_rank_9.f90,
which is more severe, as it violates

! F2018:15.5.2.5  Allocatable and pointer dummy variables
!
! The actual argument shall be polymorphic if and only if the associated
! dummy argument is polymorphic, and either both the actual and dummy
! arguments shall be unlimited polymorphic, or the declared type of the
! actual argument shall be the same as the declared type of the dummy
! argument.
!
! F2023:15.5.2.6  has the same text

which is detected (mostly) by NAG and Intel.

We need to detect and diagnose violations of the above.

Reply via email to