http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55199
janus at gcc dot gnu.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Keywords| |rejects-valid
Last reconfirmed| |2012-11-04
CC| |janus at gcc dot gnu.org
Ever Confirmed|0 |1
Summary|Equivalenced variable has |[OOP] Equivalenced variable
|wrong type when used with |has wrong type when used
|generic member function |with generic member
| |function
--- Comment #1 from janus at gcc dot gnu.org 2012-11-04 11:11:42 UTC ---
(In reply to comment #0)
> The attached program fails to compile, with the following error:
>
> assoc_err.f90:49.8:
>
> a = a + b
> 1
> Error: Operands of binary numeric operator '+' at (1) are REAL(4)/TYPE(foo_t)
I can confirm this error with 4.6, 4.7 and trunk. Prior to 4.6 ASSOCIATE was
not supported.