From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id EAF60386F47D; Sat, 27 Jun 2020 11:27:42 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org EAF60386F47D DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1593257262; bh=SQHkC5gOdUHuThyM64K7xC5Fedkksa/7QTEu9xnCGn4=; h=From:To:Subject:Date:From; b=cPI26nuMbTSIk8wJ9sALgVI3Rx/jcWXjlEvIBxEllnYvxBh41a+nJ5YJk4HbIC4is G6QqqFOpoT1Xoar5FbvNXY6Lia+WqpXcj8yBiQtbhX5LNGtcQ7uGB2N3E+gCfInZu8 3UoIqfGx/ZJFDttz4rxuitosIg7p/zV5Ch+SdCIA= From: "dcb314 at hotmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/95939] New: ice with -O3 in compute_live_loop_exits Date: Sat, 27 Jun 2020 11:27:42 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dcb314 at hotmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: 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: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: gcc-bugs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-bugs mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 Jun 2020 11:27:43 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D95939 Bug ID: 95939 Summary: ice with -O3 in compute_live_loop_exits Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: dcb314 at hotmail dot com Target Milestone: --- Recent gcc trunk gfortran compiler does this: $ /home/dcb/gcc/results/bin/gfortran -c -O3 ./gfortran.dg/graphite/pr42285.= f90 during GIMPLE pass: vect ./gfortran.dg/graphite/pr42285.f90:3:0: 3 | SUBROUTINE EFGRDM(NCF,NFRG,G,RTRMS,GM,IOPT,K1) |=20 internal compiler error: in compute_live_loop_exits, at tree-ssa-loop-manip.c:247 0x6d94fd compute_live_loop_exits ../../trunk.git/gcc/tree-ssa-loop-manip.c:247 0x6d94fd add_exit_phis_var ../../trunk.git/gcc/tree-ssa-loop-manip.c:334 0x6d94fd add_exit_phis ../../trunk.git/gcc/tree-ssa-loop-manip.c:356 0x6d94fd rewrite_into_loop_closed_ssa_1(bitmap_head*, unsigned int, int, lo= op*) ../../trunk.git/gcc/tree-ssa-loop-manip.c:678 This seems to have gone wrong sometime between date 20200624 and 20200625. It is often worthwhile to run all the Fortran code in the testsuite=20 through the compiler with -O3 or -O3 -march=3Dnative.=