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

--- Comment #3 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Peter Bergner <berg...@gcc.gnu.org>:

https://gcc.gnu.org/g:fbd50e867e6a782c7b56c9727bf7e1e74dae4b94

commit r13-6761-gfbd50e867e6a782c7b56c9727bf7e1e74dae4b94
Author: Peter Bergner <berg...@linux.ibm.com>
Date:   Mon Mar 20 09:12:47 2023 -0500

    rs6000: Don't ICE when compiling the __builtin_vec_xst_trunc built-in
[PR109178]

    When we expand the __builtin_vec_xst_trunc built-in, we use the wrong mode
    for the MEM operand which causes an unrecognizable insn ICE.  The solution
    is to use the correct TMODE mode.

    2023-03-20  Peter Bergner  <berg...@linux.ibm.com>

    gcc/
            PR target/109178
            * config/rs6000/rs6000-builtin.cc (stv_expand_builtin): Use tmode.

    gcc/testsuite/
            PR target/109178
            * gcc.target/powerpc/pr109178.c: New test.

Reply via email to