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: "janus at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 17 Jan 2010 23:46:42 -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 #4 from janus at gcc dot gnu dot org 2010-01-17 23:46 -------
In addition to the parent component accessibility issue, there is also
something wrong with the error message being thrown in comment #0 and #1.
The check throwing this error resides in 'gfc_find_component', and was moved
there in r138275 by pault. Previously it was in
'gfc_match_structure_constructor', where it was probably more appropriate.
The error message is also thrown wrongly in extends_6.f03, where (again) no
structure constructor is involved.
--
janus at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |pault at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42545