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

--- Comment #6 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Kewen Lin <li...@gcc.gnu.org>:

https://gcc.gnu.org/g:074b0c03eabeb8e9c8de813c81bf87a1f88fdb65

commit r13-5184-g074b0c03eabeb8e9c8de813c81bf87a1f88fdb65
Author: Kewen Lin <li...@linux.ibm.com>
Date:   Mon Jan 16 02:15:39 2023 -0600

    rs6000: Teach rs6000_opaque_type_invalid_use_p about inline asm [PR108272]

    As PR108272 shows, there are some invalid uses of MMA opaque
    types in inline asm statements.  This patch is to teach the
    function rs6000_opaque_type_invalid_use_p for inline asm,
    check and error any invalid use of MMA opaque types in input
    and output operands.

            PR target/108272

    gcc/ChangeLog:

            * config/rs6000/rs6000.cc (rs6000_opaque_type_invalid_use_p): Add
the
            support for invalid uses in inline asm, factor out the checking and
            erroring to lambda function check_and_error_invalid_use.

    gcc/testsuite/ChangeLog:

            * gcc.target/powerpc/pr108272-1.c: New test.
            * gcc.target/powerpc/pr108272-2.c: New test.
            * gcc.target/powerpc/pr108272-3.c: New test.
            * gcc.target/powerpc/pr108272-4.c: New test.

Reply via email to