https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81390

            Bug ID: 81390
           Summary: ICE in to_reg_br_prob_base while compiling kernel
           Product: gcc
           Version: 8.0
            Status: WAITING
          Severity: normal
          Priority: P3
         Component: middle-end
          Assignee: unassigned at gcc dot gnu.org
          Reporter: prathamesh3492 at gcc dot gnu.org
                CC: marxin at gcc dot gnu.org
  Target Milestone: ---
            Status: WAITING
  Last reconfirmed: 2017-07-11
                CC: marxin at gcc dot gnu.org
    Ever confirmed: 1

Hi,
Compiling kernel on x86_64 with allmodconfig results in following ICE:

during GIMPLE pass: profile_estimate
init/main.c: In function ‘mm_init’:
init/main.c:1071:1: internal compiler error: in to_reg_br_prob_base, at
profile-count.h:189
 }
 ^
0x65af83 profile_probability::to_reg_br_prob_base() const
        ../../gcc/gcc/profile-count.h:189
0x65af83 estimate_bb_frequencies(bool)
        ../../gcc/gcc/predict.c:3559
0xbdd8af tree_estimate_probability(bool)
        ../../gcc/gcc/predict.c:2828
0xbdd9f3 execute
        ../../gcc/gcc/predict.c:3701

Tested with r250102.

Thanks,
Prathamesh

--- Comment #1 from Martin Liška <marxin at gcc dot gnu.org> ---
Can you please provide a pre-processed source file which is affected. Would be
easier to fix the issue.

Reply via email to