[Bug optimization/12380] New: ICE when profile feedback enabled for PowerPC (AIX, Darwin, Linux)

dje at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Tue Sep 23 21:12:00 GMT 2003


PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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

           Summary: ICE when  profile feedback enabled for PowerPC (AIX,
                    Darwin, Linux)
           Product: gcc
           Version: 3.4
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: optimization
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: dje at gcc dot gnu dot org
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: powerpc-ibm-aix5.1.0.0
  GCC host triplet: powerpc-ibm-aix5.1.0.0
GCC target triplet: powerpc-ibm-aix5.1.0.0

SPEC CPU2000 197.parser

gcc -c -o main.o -D_POSIX_SOURCE -fbranch-probabilities -freorder-blocks-and-
partition -O3 -funroll-loops -ffast-math -mcpu=power4 main.c
main.c: In function `loop':
main.c:1502: error: corrupted profile info: number of iterations for basic 
block 1 thought to be -6513761
main.c:1502: error: corrupted profile info: number of executions for edge 39-40 
thought to be 6513761
main.c:1502: error: corrupted profile info: number of executions for edge 39-1 
thought to be 6513761
specmake: *** [main.o] Error 1

With -fnew-ra added, gcc ICEs with -fprofile-arcs:

gcc -c -o main.o -D_POSIX_SOURCE -fprofile-arcs -O3 -funroll-loops -ffast-math -
mcpu=power4 -fnew-ra prune.c
prune.c: In function `possible_connection':
prune.c:1174: error: Abnormal edges for no purpose in bb 28
prune.c:1174: internal compiler error: verify_flow_info failed



More information about the Gcc-bugs mailing list