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



             Bug #: 57161

           Summary: ICE in in check_probability, at basic-block.h:941

    Classification: Unclassified

           Product: gcc

           Version: 4.9.0

            Status: UNCONFIRMED

          Severity: normal

          Priority: P3

         Component: middle-end

        AssignedTo: unassig...@gcc.gnu.org

        ReportedBy: an...@samba.org





I'm getting an ICE with the following testcase on a ppc64 target.



passes on gcc version 4.9.0 20130501 (experimental) (GCC)

fails on  gcc version 4.9.0 20130503 (experimental) (GCC) 



# gcc -O2 -c foo.c

foo.c: In function 'testcase':

foo.c:40:1: internal compiler error: in check_probability, at basic-block.h:941

 }

 ^

0x105bb57b check_probability

    ../../gcc/gcc/basic-block.h:941

0x105bb57b check_probability

    ../../gcc/gcc/sched-rgn.c:3247

0x105bb57b combine_probabilities

    ../../gcc/gcc/basic-block.h:950

0x105bb57b compute_dom_prob_ps

    ../../gcc/gcc/sched-rgn.c:1444

0x105bb57b sched_rgn_local_init(int)

    ../../gcc/gcc/sched-rgn.c:3291

0x105bd393 schedule_region

    ../../gcc/gcc/sched-rgn.c:2984

0x105bd393 schedule_insns

    ../../gcc/gcc/sched-rgn.c:3384

0x105bd393 schedule_insns()

    ../../gcc/gcc/sched-rgn.c:3363

0x105bdbb3 rest_of_handle_sched

    ../../gcc/gcc/sched-rgn.c:3577

Reply via email to