From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 302 invoked by alias); 17 Jan 2010 23:46:54 -0000 Received: (qmail 32717 invoked by uid 48); 17 Jan 2010 23:46:42 -0000 Date: Sun, 17 Jan 2010 23:46:00 -0000 Message-ID: <20100117234642.32716.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug fortran/42545] type extension: parent component has wrong accessibility In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "janus at gcc dot gnu dot org" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2010-01/txt/msg02138.txt.bz2 ------- 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