This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/42545] type extension: parent component has wrong accessibility
- From: "burnus at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 18 Jan 2010 14:39:26 -0000
- Subject: [Bug fortran/42545] type extension: parent component has wrong accessibility
- References: <bug-42545-13404@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #7 from burnus at gcc dot gnu dot org 2010-01-18 14:39 -------
(In reply to comment #6)
> > It sets the accessibility at resolution time and makes the following variant
> > of comment #2 work:
>
> That variant works for me already with the trunk, i.e. it is not rejected
> which is (for me) the expected result.
Actually, I misread "makes ... work": It is seemingly rejected with the patch
and - after (re)reading the standard (see quote in comment 6), I think
rejecting is indeed correct. Sorry for not checking that part of my comment
before hitting "Commit".
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42545