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

--- Comment #9 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Richard Biener <rgue...@gcc.gnu.org>:

https://gcc.gnu.org/g:8bc243943765f969c0d4625721a9944e9516d013

commit r13-1553-g8bc243943765f969c0d4625721a9944e9516d013
Author: Richard Biener <rguent...@suse.de>
Date:   Thu Jul 7 10:46:01 2022 +0200

    target/106219 - proprly mark builtins pure via ix86_add_new_builtins

    The target optimize pragma path to initialize extra target specific
    builtins missed handling of the pure_p flag which in turn causes
    extra clobber side-effects of gather builtins leading to unexpected
    issues downhill.

            PR target/106219
            * config/i386/i386-builtins.cc (ix86_add_new_builtins): Properly
            set DECL_PURE_P.

            * g++.dg/pr106219.C: New testcase.

Reply via email to