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

            Bug ID: 68432
           Summary: [6 Regression] internal compiler error: in
                    expand_insn, at optabs.c:6947
           Product: gcc
           Version: 6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: rtl-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: Joost.VandeVondele at mat dot ethz.ch
  Target Milestone: ---

Between r230516 and r230587, I run into an ICE, but it triggers only with
-fprofile-use  making it difficult to reduce. It always involves ANINT in the
error message:

/data/vjoost/gnu/cp2k/cp2k/makefiles/../src/cell_types.F: In function ‘pbc1’:
/data/vjoost/gnu/cp2k/cp2k/makefiles/../src/cell_types.F:424:0: internal
compiler error: in expand_insn, at optabs.c:6947
       r_pbc(1) = r(1) -
cell%hmat(1,1)*cell%perd(1)*ANINT(cell%h_inv(1,1)*r(1))


0x932745 expand_insn
        ../../gcc/gcc/optabs.c:6947
0x932745 expand_insn(insn_code, unsigned int, expand_operand*)
        ../../gcc/gcc/optabs.c:6943
0x809a43 expand_direct_optab_fn
        ../../gcc/gcc/internal-fn.c:2124
0x618bec expand_call_stmt
        ../../gcc/gcc/cfgexpand.c:2565
0x618bec expand_gimple_stmt_1
        ../../gcc/gcc/cfgexpand.c:3525
0x618bec expand_gimple_stmt
        ../../gcc/gcc/cfgexpand.c:3688
0x61a637 expand_gimple_basic_block
        ../../gcc/gcc/cfgexpand.c:5694
0x620671 execute
        ../../gcc/gcc/cfgexpand.c:6309
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <http://gcc.gnu.org/bugs.html> for instructions.
make[3]: *** [/tmp/ccTaPmg4.ltrans3.ltrans.o] Error 1

Reply via email to