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/42545] type extension: parent component has wrong accessibility



------- 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


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