diff options
author | Richard Biener <rguenther@suse.de> | 2022-07-07 10:46:01 +0200 |
---|---|---|
committer | Richard Biener <rguenther@suse.de> | 2022-07-07 12:03:45 +0200 |
commit | 8bc243943765f969c0d4625721a9944e9516d013 (patch) | |
tree | 8b5330844f9861efada959656ceb6e369b397c59 /libcpp | |
parent | c1b1c4e58bda152ae932b45396ab67b07dd8c3fe (diff) | |
download | gcc-8bc243943765f969c0d4625721a9944e9516d013.zip gcc-8bc243943765f969c0d4625721a9944e9516d013.tar.gz gcc-8bc243943765f969c0d4625721a9944e9516d013.tar.bz2 |
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.
Diffstat (limited to 'libcpp')
0 files changed, 0 insertions, 0 deletions