https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63205
Bug ID: 63205 Summary: [OOP] Wrongly rejects type = class (for identical declared type) Product: gcc Version: 4.9.0 Status: UNCONFIRMED Keywords: rejects-valid Severity: normal Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: burnus at gcc dot gnu.org CC: dominiq at lps dot ens.fr, janus at gcc dot gnu.org Depends on: 57530 +++ This bug was initially created as a clone of Bug #57530 +++ PR 57530 comment #3: > Created attachment 30262 [details] > Draft patch - does not fully work, yet > > Currently fails for > x = func1() > in assign_11.f90 PR 57530 comment #8: > The original test case (cf. PR 57530 comment 0) is now solved. > > However, only "type => class" is handled. Still missing is "type = class", > where CLASS is a (coarray) scalar or (coarray) array variable, function or > an array constructor. See also PR 57530 comment 3.