From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22585 invoked by alias); 3 Sep 2015 21:16:30 -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 Received: (qmail 22503 invoked by uid 48); 3 Sep 2015 21:16:25 -0000 From: "dominiq at lps dot ens.fr" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/54070] [4.9/5/6 Regression] Wrong code with allocatable deferred-length (array) function results Date: Thu, 03 Sep 2015 21:16:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 4.8.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: dominiq at lps dot ens.fr X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 4.9.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cf_known_to_work blocked cf_known_to_fail Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-09/txt/msg00304.txt.bz2 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54070 Dominique d'Humieres changed: What |Removed |Added ---------------------------------------------------------------------------- Known to work| |4.8.0 Blocks| |20585 Known to fail| |4.8.1 --- Comment #18 from Dominique d'Humieres --- > I found it fixed in 5.2.0 This PR contains 5 tests. Let me label them a, b, and c for the ones in comment 0, d for the one in comment 4 and e for the one in comment 7. As for today I find that a, c, and e are still giving an ICE with 4.9 up to trunk (6.0), b compiles with 4.9 up to trunk, and d compiles with 5.2 and trunk, but still gives an ICE with 4.9.4. I confirm that revision r188654 compiles a, c, d, and e, but not b. Referenced Bugs: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=20585 [Bug 20585] [meta-bug] Fortran 2003 support