From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10994 invoked by alias); 10 Aug 2012 06:18:14 -0000 Received: (qmail 10981 invoked by uid 22791); 10 Aug 2012 06:18:12 -0000 X-SWARE-Spam-Status: No, hits=-4.3 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00,KHOP_THREADED 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; Fri, 10 Aug 2012 06:17:59 +0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/48133] [4.6/4.7/4.8 Regression] ICE: in get_loop_body, at cfgloop.c:831 with -O -funroll-loops -fthread-jumps -fno-tree-ch Date: Fri, 10 Aug 2012 06:18:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: hubicka at gcc dot gnu.org X-Bugzilla-Target-Milestone: 4.6.4 X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: 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-08/txt/msg00554.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48133 --- Comment #14 from Jakub Jelinek 2012-08-10 06:17:44 UTC --- (In reply to comment #13) seems to work for me now > jh@gcc10:~/trunk/build/gcc$ ./gfortran -O2 -c t.f90 -B ./ > jh@gcc10:~/trunk/build/gcc$ cat t.f90 > SUBROUTINE goo() > IMPLICIT NONE > CHARACTER(len=9),SAVE :: s > INTEGER,SAVE :: i,j,k > i=0 > j=0 > DO WHILE (i==0) > CALL goo1(s) > IF (INDEX(s,'$')/=1 .AND. INDEX(s,'!')/=1) THEN > CALL goo2(k) > IF (k>0) THEN > i=1 > END IF > END IF > END DO > END SUBROUTINE > ! gfortran -O2 -c goo.f90 > > (similarly with the C testcase). It would be nice to know what fixed it. H.J, > do you think you can track it? The #c0 testcase stopped ICEing with http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=185913 and the #c13 testcase just ICEd a few revisions around r185950.