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

--- Comment #3 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by H.J. Lu <h...@gcc.gnu.org>:

https://gcc.gnu.org/g:77a67e3a9294c825ac1a2b205fbb266e7c29e82b

commit r13-5263-g77a67e3a9294c825ac1a2b205fbb266e7c29e82b
Author: H.J. Lu <hjl.to...@gmail.com>
Date:   Wed Jan 18 11:08:14 2023 -0800

    x86: Check invalid third argument to __builtin_ia32_prefetch

    Check invalid third argument to __builtin_ia32_prefetch when expaning
    __builtin_ia32_prefetch to avoid ICE later.

    gcc/

            PR target/108436
            * config/i386/i386-expand.cc (ix86_expand_builtin): Check
            invalid third argument to __builtin_ia32_prefetch.

    gcc/testsuite/

            * gcc.target/i386/pr108436.c: New test.

Reply via email to