[Bug tree-optimization/90913] New: [10 Regress] ICE in maybe_gen_insn, at optabs.c:7341 since r272239

marxin at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Jun 18 14:49:00 GMT 2019


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

            Bug ID: 90913
           Summary: [10 Regress] ICE in maybe_gen_insn, at optabs.c:7341
                    since r272239
           Product: gcc
           Version: 10.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P3
         Component: tree-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: marxin at gcc dot gnu.org
  Target Milestone: ---

Created attachment 46499
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=46499&action=edit
test-case

Attached test-case (reduced from 521.wrf_r) fails:

$ gcc fice.f90 -c -march=native -Ofast
fice.f90:10:30:

   10 | OVERALL_MAIN_I_LOOP: do i=its,    OLD_CLOUD_NSUBMIX_LOOP
      |                              1
Warning: Deleted feature: End expression in DO loop at (1) must be integer
during RTL pass: expand
fice.f90:18:0:

   18 |                        ccnfact(l,m,n)=cm3
      | 
internal compiler error: in maybe_gen_insn, at optabs.c:7341
0x68f8c8 maybe_gen_insn(insn_code, unsigned int, expand_operand*)
        /home/marxin/Programming/gcc/gcc/optabs.c:7341
0xcf4888 maybe_expand_insn(insn_code, unsigned int, expand_operand*)
        /home/marxin/Programming/gcc/gcc/optabs.c:7385
0xcf4888 expand_insn(insn_code, unsigned int, expand_operand*)
        /home/marxin/Programming/gcc/gcc/optabs.c:7416
0xbd1c8b expand_mask_store_optab_fn
        /home/marxin/Programming/gcc/gcc/internal-fn.c:2535
0x9a6b47 expand_call_stmt
        /home/marxin/Programming/gcc/gcc/cfgexpand.c:2638
0x9a6b47 expand_gimple_stmt_1
        /home/marxin/Programming/gcc/gcc/cfgexpand.c:3709
0x9a6b47 expand_gimple_stmt
        /home/marxin/Programming/gcc/gcc/cfgexpand.c:3868
0x9ac351 expand_gimple_basic_block
        /home/marxin/Programming/gcc/gcc/cfgexpand.c:5904
0x9ae0b7 execute
        /home/marxin/Programming/gcc/gcc/cfgexpand.c:6527


More information about the Gcc-bugs mailing list