From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 53377 invoked by alias); 31 May 2015 23:44:42 -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 53309 invoked by uid 48); 31 May 2015 23:44:36 -0000 From: "su at cs dot ucdavis.edu" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/66357] New: ICE on valid code at -O1, -O2 and -O3 on x86_64-linux-gnu in verify_loop_structure, at cfgloop.c:1662 Date: Sun, 31 May 2015 23:44:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: su at cs dot ucdavis.edu 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-SW-Source: 2015-05/txt/msg02507.txt.bz2 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D66357 Bug ID: 66357 Summary: ICE on valid code at -O1, -O2 and -O3 on x86_64-linux-gnu in verify_loop_structure, at cfgloop.c:1662 Product: gcc Version: 6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: su at cs dot ucdavis.edu Target Milestone: --- The following code causes an ICE when compiled with the current gcc trunk at -O1, -O2 and -O3 on x86_64-linux-gnu in both 32-bit and 64-bit modes.=20 It is a regression from 5.1.x.=20 $ gcc-trunk -v Using built-in specs. COLLECT_GCC=3Dgcc-trunk COLLECT_LTO_WRAPPER=3D/usr/local/gcc-trunk/libexec/gcc/x86_64-unknown-linux= -gnu/6.0.0/lto-wrapper Target: x86_64-unknown-linux-gnu Configured with: ../gcc-trunk/configure --prefix=3D/usr/local/gcc-trunk --enable-languages=3Dc,c++ --disable-werror --enable-multilib Thread model: posix gcc version 6.0.0 20150531 (experimental) [trunk revision 223897] (GCC)=20 $=20 $ gcc-trunk -O0 -c small.c $ gcc-trunk -Os -c small.c $ gcc-5.1 -O1 -c small.c $=20 $ gcc-trunk -O1 -c small.c small.c: In function =E2=80=98fn1=E2=80=99: small.c:5:1: error: size of loop 1 should be 3, not 2 fn1 () ^ small.c:5:1: error: bb 16 does not belong to loop 1 small.c:5:1: error: bb 17 does not belong to loop 1 small.c:5:1: error: bb 11 does not belong to loop 1 small.c:5:1: error: loop 1=E2=80=99s header does not belong directly to it small.c:5:1: internal compiler error: in verify_loop_structure, at cfgloop.c:1662 0x6f4b85 verify_loop_structure() ../../gcc-trunk/gcc/cfgloop.c:1662 0x9929e0 fix_loop_structure(bitmap_head*) ../../gcc-trunk/gcc/loop-init.c:344 0xb3a5ac repair_loop_structures ../../gcc-trunk/gcc/tree-cfgcleanup.c:784 0xb3a5ac cleanup_tree_cfg() ../../gcc-trunk/gcc/tree-cfgcleanup.c:814 0xa314d4 execute_function_todo ../../gcc-trunk/gcc/passes.c:1899 0xa31d73 execute_todo ../../gcc-trunk/gcc/passes.c:2003 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See for instructions. $=20 --------------------------------- int a, c, e, f; volatile int d; void fn1 () { if (!e) for (; a; a++) { if (e) for (d++; d;) ; else for (c =3D 0; c; --c) ; if (f) for (;;) { if (e) break; a =3D 0; } } } >>From gcc-bugs-return-487668-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jun 01 03:24:55 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 50558 invoked by alias); 1 Jun 2015 03:24:54 -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 Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 50513 invoked by uid 48); 1 Jun 2015 03:24:50 -0000 From: "jvdelisle at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/66331] gfortran.dg/continuation_13.f90 execution failure Date: Mon, 01 Jun 2015 03:24: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: 5.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: minor X-Bugzilla-Who: jvdelisle at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: INVALID 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_status resolution 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-06/txt/msg00000.txt.bz2 Content-length: 435 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66331 Jerry DeLisle changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |INVALID --- Comment #4 from Jerry DeLisle --- Not a bug