https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103102
Bug ID: 103102 Summary: [12 Regression] pr81175.f fails since r12-4946-ga79fe53d6ce6074d083e925b6b19773e45817405 Product: gcc Version: 12.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 CC: rguenth at gcc dot gnu.org Target Milestone: --- The following happens: $ ./xgcc -B. /home/marxin/Programming/gcc/gcc/testsuite/gfortran.dg/pr81175.f -c -fwrapv -std=legacy -march=broadwell -Ofast during RTL pass: expand /home/marxin/Programming/gcc/gcc/testsuite/gfortran.dg/pr81175.f:18:72: 18 | IF(ABS(CKLTEM).GT.TOL) SUM= SUM+FQ(N)*CKLTEM | ^ internal compiler error: in maybe_gen_insn, at optabs.c:7871 0x129c1ca maybe_gen_insn(insn_code, unsigned int, expand_operand*) /home/marxin/Programming/gcc/gcc/optabs.c:7871 0x129c662 maybe_expand_insn(insn_code, unsigned int, expand_operand*) /home/marxin/Programming/gcc/gcc/optabs.c:7915 0x129c6fe expand_insn(insn_code, unsigned int, expand_operand*) /home/marxin/Programming/gcc/gcc/optabs.c:7946 0x107db94 expand_partial_load_optab_fn /home/marxin/Programming/gcc/gcc/internal-fn.c:2730 0x1084087 expand_MASK_LOAD /home/marxin/Programming/gcc/gcc/internal-fn.def:123 0x1086085 expand_internal_call(internal_fn, gcall*) /home/marxin/Programming/gcc/gcc/internal-fn.c:4221 0x10860b4 expand_internal_call(gcall*) /home/marxin/Programming/gcc/gcc/internal-fn.c:4229 0xcf7e82 expand_call_stmt /home/marxin/Programming/gcc/gcc/cfgexpand.c:2749 0xcfc310 expand_gimple_stmt_1 /home/marxin/Programming/gcc/gcc/cfgexpand.c:3876 0xcfca18 expand_gimple_stmt /home/marxin/Programming/gcc/gcc/cfgexpand.c:4040 0xd05424 expand_gimple_basic_block /home/marxin/Programming/gcc/gcc/cfgexpand.c:6085 0xd07cd1 execute /home/marxin/Programming/gcc/gcc/cfgexpand.c:6811 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See <https://gcc.gnu.org/bugs/> for instructions.