From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4911 invoked by alias); 16 Nov 2012 18:14:40 -0000 Received: (qmail 4453 invoked by uid 48); 16 Nov 2012 18:14:20 -0000 From: "juno.krahn at nih dot gov" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/55356] New: ICE with TRANSFER of C_NULL_PTR Date: Fri, 16 Nov 2012 18:14:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: juno.krahn at nih dot gov 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: Message-ID: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 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: 2012-11/txt/msg01542.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55356 Bug #: 55356 Summary: ICE with TRANSFER of C_NULL_PTR Classification: Unclassified Product: gcc Version: 4.7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran AssignedTo: unassigned@gcc.gnu.org ReportedBy: juno.krahn@nih.gov Example code (bug.f90): use iso_c_binding type(C_ptr) :: p p = transfer(C_NULL_ptr,p) end Result: $ gfortran -c bug.f90 f951: internal compiler error: Segmentation fault Please submit a full bug report, with preprocessed source if appropriate. See for instructions. Seems likely related to bug 46974