From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16619 invoked by alias); 11 Nov 2010 22:32:58 -0000 Received: (qmail 16572 invoked by uid 22791); 11 Nov 2010 22:32:56 -0000 X-SWARE-Spam-Status: No, hits=-2.8 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 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; Thu, 11 Nov 2010 22:32:52 +0000 From: "burnus at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/46325] [4.6 Regression] gfortran.dg/char_initialiser_actual.f90 FAILs with -fstack-protector X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: burnus at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 4.6.0 X-Bugzilla-Changed-Fields: Message-ID: 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: Thu, 11 Nov 2010 22:32: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-11/txt/msg01545.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46325 --- Comment #6 from Tobias Burnus 2010-11-11 22:32:26 UTC --- (In reply to comment #5) > Well, the actual argument associated with pfoo here is not x but > (/"is Ja","ne Fo","nda "/) Well, the effective argument nevertheless does not have the TARGET attribute. Thus I believe the same argument applies and the test case is invalid. > y => Actually, already that line is invalid (per 7.1.9.2). > but if the same thing applies to it too, then the > gfortran.dg/char_initialiser_actual.f90 testcase is invalid too and thus should > be nuked. Well, not nuked but modified: @@ -26,3 +26,4 @@ contains character*5, dimension(:), pointer :: pfoo - pfoo => ch2 + allocate(pfoo(size(ch2))) + pfoo = ch2 end function pfoo