From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31819 invoked by alias); 26 Oct 2010 19:44:01 -0000 Received: (qmail 31736 invoked by uid 22791); 26 Oct 2010 19:44:00 -0000 X-SWARE-Spam-Status: No, hits=-2.4 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00,MISSING_MID X-Spam-Check-By: sourceware.org Received: from localhost (HELO gcc.gnu.org) (127.0.0.1) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 26 Oct 2010 19:43:54 +0000 From: "burnus at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/46152] ALLOCATE with type-spec fails for intrinsic types X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Keywords: rejects-valid X-Bugzilla-Severity: normal X-Bugzilla-Who: burnus at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: In-Reply-To: References: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Date: Tue, 26 Oct 2010 19:44:00 -0000 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-10/txt/msg02241.txt.bz2 Message-ID: <20101026194400.KXPcPrGxsYrhokyU7PSn4ErJgs213fJlZE2L_gHl24A@z> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46152 --- Comment #13 from Tobias Burnus 2010-10-26 19:43:43 UTC --- (In reply to comment #12) > New patch attached. This passed regression testing. The patch is OK from my side. I assume there is still an error printed but error but the extra error causes that succeeding checks fail thus you removed the following line: - allocate(tx :: x(5)) ! { dg-error "is not an accessible derived type" } Otherwise, "is not an accessible derived type" is a nicer error message then "error in CLASS IS specification at" but I assume one cannot have everything - and the latter is also sufficiently clear.