[Bug fortran/60853] Failure to disambiguate generic with unlimited polymorphic

2016-04-06 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60853

Dominique d'Humieres  changed:

   What|Removed |Added

 CC||baradi09 at gmail dot com

--- Comment #2 from Dominique d'Humieres  ---
*** Bug 70562 has been marked as a duplicate of this bug. ***

[Bug fortran/60853] Failure to disambiguate generic with unlimited polymorphic

2014-05-28 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60853

Dominique d'Humieres dominiq at lps dot ens.fr changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEW
   Last reconfirmed||2014-05-28
 Ever confirmed|0   |1

--- Comment #1 from Dominique d'Humieres dominiq at lps dot ens.fr ---
Confirmed. The code compiles if I use

   subroutine copyFromScalar(this, scalar)
  class (Vector), intent(inout) :: this
  type  (Vector), intent(in) :: scalar
   end subroutine copyFromScalar

   subroutine copyFromArray(this, array)
  class (Vector), intent(inout) :: this
  class (Vector), intent(in) :: array(:)
   end subroutine copyFromArray