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

G. Steinmetz <gs...@t-online.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |ice-on-valid-code

--- Comment #1 from G. Steinmetz <gs...@t-online.de> ---

Compiles without these extra parentheses in f((a)) :


$ cat z0.f90
program p
   type t
   end type
contains
   recursive function f(x) result(z)
      class(*):: x(:)
      type(t) :: z(size(x))
      class(t), allocatable :: a(:)
      class(t), allocatable :: b(:)
      b = f(a)
   end
end

Reply via email to