From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25225 invoked by alias); 30 Jan 2012 20:55:26 -0000 Received: (qmail 25215 invoked by uid 22791); 30 Jan 2012 20:55:25 -0000 X-SWARE-Spam-Status: No, hits=-2.9 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00,SUBJ_OBFU_PUNCT_FEW 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; Mon, 30 Jan 2012 20:55:12 +0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/52059] New: [4.7 Regression] ICE in gfc_conv_variable Date: Mon, 30 Jan 2012 21:24: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: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub 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: 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-01/txt/msg03579.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52059 Bug #: 52059 Summary: [4.7 Regression] ICE in gfc_conv_variable Classification: Unclassified Product: gcc Version: 4.7.0 Status: UNCONFIRMED Keywords: ice-on-valid-code Severity: normal Priority: P3 Component: fortran AssignedTo: unassigned@gcc.gnu.org ReportedBy: jakub@gcc.gnu.org CC: mikael@gcc.gnu.org subroutine baz real(kind=8) :: a(99), b interface bar function bar (x, y) integer, intent(in) :: x, y real(kind=8), dimension((y-x)) :: bar end function bar end interface b = 1.0_8 a = foo (bar(0,35) / dble(34), b) contains elemental real(kind=8) function foo(x, y) real(kind=8), intent(in) :: x, y foo = 1 end function foo end subroutine baz ICEs starting with http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=180906 (and, when b in the call is replaced with say 1.0_8, ICEs in gfc_conv_constant and when the y argument from y is removed and the caller is adjusted too, ICEs in gfc_trans_assignment.