This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[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
- From: "jakub at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 10 Aug 2012 06:17:44 +0000
- 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
- Auto-submitted: auto-generated
- References: <bug-48133-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48133
--- Comment #14 from Jakub Jelinek <jakub at gcc dot gnu.org> 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.