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