https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80376
--- Comment #4 from Bill Schmidt <wschmidt at gcc dot gnu.org> --- Patch under test would produce the follow errors instead: wschmidt@pike:~/src$ $GCC_INSTALL/bin/gcc pr80376.c pr80376.c: In function 'main': pr80376.c:12:5: error: argument 3 must be a 2-bit unsigned literal vec_vsx_st(vec_xxpermdi(a, b, j), 0, c); ^~~~~~~~~~ pr80376.c:12:5: internal compiler error: non-vector constant found where vector expected 0x116cde0b gen_movv4si(rtx_def*, rtx_def*) /home/wschmidt/gcc/gcc-mainline-test/gcc/config/rs6000/vector.md:114 0x105fd113 insn_gen_fn::operator()(rtx_def*, rtx_def*) const /home/wschmidt/gcc/gcc-mainline-test/gcc/recog.h:301 0x1077a497 emit_move_insn_1(rtx_def*, rtx_def*) /home/wschmidt/gcc/gcc-mainline-test/gcc/expr.c:3643 0x1077ab37 emit_move_insn(rtx_def*, rtx_def*) /home/wschmidt/gcc/gcc-mainline-test/gcc/expr.c:3738 0x107826d3 store_expr_with_bounds(tree_node*, rtx_def*, int, bool, bool, tree_node*) /home/wschmidt/gcc/gcc-mainline-test/gcc/expr.c:5729 0x107802a3 expand_assignment(tree_node*, tree_node*, bool) /home/wschmidt/gcc/gcc-mainline-test/gcc/expr.c:5321 0x1056ec0b expand_call_stmt /home/wschmidt/gcc/gcc-mainline-test/gcc/cfgexpand.c:2656 0x10572b87 expand_gimple_stmt_1 /home/wschmidt/gcc/gcc-mainline-test/gcc/cfgexpand.c:3571 0x105734c3 expand_gimple_stmt /home/wschmidt/gcc/gcc-mainline-test/gcc/cfgexpand.c:3737 0x1057cd03 expand_gimple_basic_block /home/wschmidt/gcc/gcc-mainline-test/gcc/cfgexpand.c:5744 0x1057ef3b execute /home/wschmidt/gcc/gcc-mainline-test/gcc/cfgexpand.c:6357 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.