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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2024-04-23
           Priority|P3                          |P2
          Component|libgomp                     |fortran
     Ever confirmed|0                           |1
   Target Milestone|---                         |11.5
                 CC|                            |burnus at gcc dot gnu.org
            Summary|Compiler error using        |[11/12/13/14 Regression]
                   |gfortran and OpenMP         |Compiler error using
                   |                            |gfortran and OpenMP since
                   |                            |r5-1190

--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Started with r5-1190-g92d28cbb59cc5a611af41342c5b224fbf779a44d
Reduced testcase (just -fopenmp needed):
subroutine pr114825(b)
  type t
    real, allocatable :: m(:)
  end type t
  type(t), allocatable, target :: b(:)
  type(t), pointer :: d
  !$omp parallel private(d)
  d => b(1)
  !$omp end parallel
contains
  subroutine sub
    d => b(1)
  end subroutine sub
end subroutine pr114825

Reply via email to