From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29845 invoked by alias); 2 Jan 2015 15:28:29 -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 29824 invoked by uid 48); 2 Jan 2015 15:28:25 -0000 From: "janus at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/64474] [4.8 Regression] transfer(c_null_ptr, ...) causes an internal error Date: Fri, 02 Jan 2015 15:28: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.3 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: janus at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: keywords bug_status cf_reconfirmed_on cc short_desc everconfirmed 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-01/txt/msg00046.txt.bz2 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64474 janus at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |ice-on-valid-code Status|UNCONFIRMED |NEW Last reconfirmed| |2015-01-02 CC| |janus at gcc dot gnu.org Summary|transfer(c_null_ptr, ...) |[4.8 Regression] |causes an internal error |transfer(c_null_ptr, ...) | |causes an internal error Ever confirmed|0 |1 --- Comment #1 from janus at gcc dot gnu.org --- I see the ICE with 4.7.4 and 4.8.3, but it is gone with 4.9.1 and trunk. Also there is no ICE in 4.6.4, which technically makes it a regression. If we can identify the commit which fixed this in 4.9, it could be backported to 4.8. Btw, 4.7 and earlier show the warning: subroutine croutine( array ) bind(c,name='croutine') 1 Warning: Variable 'array' at (1) is a parameter to the BIND(C) procedure 'croutine' but may not be C interoperable