[Bug c/13232] New: ICE in remember_web_was_spilled with -O3 -march=pentium4 -fnew-ra

coyote at coyotegulch dot com gcc-bugzilla@gcc.gnu.org
Sat Nov 29 15:10:00 GMT 2003


The attached program generates an ICE, as follows:

scott@Tycho$ gcc -c -std=gnu99 -O3 -march=pentium4 -fnew-ra gcc-ice3.c
gcc-ice3.c: In function `planetpv':
 
gcc-ice3.c:29: internal compiler error: in subst_stack_regs_pat, at reg-stack.c:1580

Note comments in gcc-ice3.c. Initializing "k" elimintaes the ICE, as does
rewriting the loop from an infinite while to a do... while.

-- 
           Summary: ICE in remember_web_was_spilled with -O3 -march=pentium4
                    -fnew-ra
           Product: gcc
           Version: 3.4
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: coyote at coyotegulch dot com
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: i686-pc-linux
  GCC host triplet: i686-pc-linux
GCC target triplet: i686-pc-linux


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13232



More information about the Gcc-bugs mailing list