https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87195
Bug ID: 87195 Summary: ICE in simplify_binary_operation_1, at simplify-rtx.c:3637 Product: gcc Version: 9.0 Status: UNCONFIRMED Keywords: ice-on-valid-code Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: marxin at gcc dot gnu.org CC: segher at gcc dot gnu.org Target Milestone: --- Host: x86_64-linux-gnu Target: ppc64le-linux-gnu Following causes an ICE: $ ./xgcc -B. /home/marxin/Programming/gcc/gcc/testsuite/gcc.target/powerpc/fold-vec-splat-floatdouble.c -O2 -ffloat-store during RTL pass: fwprop1 /home/marxin/Programming/gcc/gcc/testsuite/gcc.target/powerpc/fold-vec-splat-floatdouble.c: In function ‘testf_08’: /home/marxin/Programming/gcc/gcc/testsuite/gcc.target/powerpc/fold-vec-splat-floatdouble.c:14:1: internal compiler error: in simplify_binary_operation_1, at simplify-rtx.c:3637 14 | vector float testf_08 (vector float x) { return vec_splat (x, 0b01000); } | ^~~~~~ 0xfbcfb2 simplify_binary_operation_1 /home/marxin/Programming/gcc/gcc/simplify-rtx.c:3637 0xfb6666 simplify_binary_operation(rtx_code, machine_mode, rtx_def*, rtx_def*) /home/marxin/Programming/gcc/gcc/simplify-rtx.c:2167 0xfaef1a simplify_gen_binary(rtx_code, machine_mode, rtx_def*, rtx_def*) /home/marxin/Programming/gcc/gcc/simplify-rtx.c:194 0x19c4257 propagate_rtx_1 /home/marxin/Programming/gcc/gcc/fwprop.c:508 0x19c4159 propagate_rtx_1 /home/marxin/Programming/gcc/gcc/fwprop.c:494 0x19c4c2a propagate_rtx /home/marxin/Programming/gcc/gcc/fwprop.c:692 0x19c674f forward_propagate_and_simplify /home/marxin/Programming/gcc/gcc/fwprop.c:1355 0x19c6967 forward_propagate_into /home/marxin/Programming/gcc/gcc/fwprop.c:1414 0x19c6c77 fwprop /home/marxin/Programming/gcc/gcc/fwprop.c:1503 0x19c6cf4 execute /home/marxin/Programming/gcc/gcc/fwprop.c:1534