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

            Bug ID: 108025
           Summary: Duplicate CONTIGUOUS attribute should be diagnosed
           Product: gcc
           Version: 13.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
          Assignee: unassigned at gcc dot gnu.org
          Reporter: anlauf at gcc dot gnu.org
  Target Milestone: ---

The following code should be rejected as indicated:

subroutine foo (x)
  real, contiguous :: x(:)
  contiguous       :: x    ! { dg-error "Duplicate CONTIGUOUS attribute" }
end

Detected by NAG and Intel.

Reply via email to