https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68488
Bug ID: 68488 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: middle-end Assignee: unassigned at gcc dot gnu.org Reporter: hjl.tools at gmail dot com CC: rsandifo at gcc dot gnu.org Target Milestone: --- On x86-64, r230487 failed to build 189.lucas in SPEC CPU 2000: gfortran -O2 -ffast-math -fwhole-program -flto=jobserver -fuse-linker-plugin -DSPEC_CPU2000_LP64 lucas_distrib_spec.o -o lucas lucas_distrib_spec.f90: In function 'lucas_distrib': lucas_distrib_spec.f90:378:0: internal compiler error: in expand_insn, at optabs.c:6947 err_abs=4*dnint(sqrt(1d0*n)) 0x9321e3 expand_insn(insn_code, unsigned int, expand_operand*) ../../src-trunk/gcc/optabs.c:6947 0x80c2b4 expand_direct_optab_fn ../../src-trunk/gcc/internal-fn.c:2124 0x62d00a expand_call_stmt ../../src-trunk/gcc/cfgexpand.c:2565 0x62d00a expand_gimple_stmt_1 ../../src-trunk/gcc/cfgexpand.c:3525 0x62d00a expand_gimple_stmt ../../src-trunk/gcc/cfgexpand.c:3688 0x62fbca expand_gimple_basic_block ../../src-trunk/gcc/cfgexpand.c:5694 0x635486 execute ../../src-trunk/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[4]: *** [/tmp/ccRUTyPS.ltrans1.ltrans.o] Error 1 lto-wrapper: fatal error: make returned 2 exit status compilation terminated. /usr/local/bin/ld: error: lto-wrapper failed collect2: error: ld returned 1 exit status