This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/28590] A SEQUENCEd defined type which refers to another defined type generates a spurious complaint about the lack of SEQUENCE attribute in the latter



------- Comment #2 from paul dot richard dot thomas at cea dot fr  2006-08-04 09:44 -------
Created an attachment (id=12015)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12015&action=view)
Fix and testcase for this PR

The check that sequence type components are themselves sequence types was being
done in parse.c.  This is too early for pointer components, since there is no
requirement that they be already defined.  This is cured by moving the test to
resolve.c.  The testcase is Chris's submission with a bit of DejaGnuery and a
comment.

Paul


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28590


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]