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

            Bug ID: 80743
           Summary: ice in estimate_node_size_and_ti me, at
                    ipa-inline-analysis.c:3385
           Product: gcc
           Version: 7.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: dcb314 at hotmail dot com
  Target Milestone: ---

Created attachment 41354
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=41354&action=edit
gzipped C source code

While compiling a recent Linux kernel, I got trunk gcc to say this:

security/keys/dh.c:362:1: internal compiler error: in estimate_node_size_and_ti
me, at ipa-inline-analysis.c:3385
0x9c2c6c estimate_node_size_and_time
        ../../trunk/gcc/ipa-inline-analysis.c:3385
0x9c2c6c do_estimate_edge_time(cgraph_edge*)
        ../../trunk/gcc/ipa-inline-analysis.c:3935
0x9c2d8f do_estimate_edge_size(cgraph_edge*)
        ../../trunk/gcc/ipa-inline-analysis.c:3989
0x9c2fef estimate_edge_size
        ../../trunk/gcc/ipa-inline.h:304

gcc bug seems to be between revision 246605 and 247438

/home/dcb/gcc/results.246605/bin/gcc
/home/dcb/gcc/results.247438/bin/gcc
security/keys/dh.c:362:1: internal compiler error: in estimate_node_size_and_ti
me, at ipa-inline-analysis.c:3385

Flag -O2 required. I'll have a go at reducing the code.

Reply via email to