diff options
author | Richard Biener <rguenther@suse.de> | 2024-07-24 13:16:35 +0200 |
---|---|---|
committer | Richard Biener <rguenth@gcc.gnu.org> | 2024-09-18 12:32:15 +0200 |
commit | ef25f1dd600cc9351c80e3e018d7170e16a2c6ff (patch) | |
tree | 8fd8367ebfe85cd88eb20921bf96ff3587e05bf9 /libstdc++-v3/config/locale | |
parent | e87c0c7f7ab1e7acd0ffbac0b15e020275f97ca8 (diff) | |
download | gcc-releases/gcc-13.zip gcc-releases/gcc-13.tar.gz gcc-releases/gcc-13.tar.bz2 |
tree-optimization/116057 - wrong code with CCP and vector CTORsreleases/gcc-13
The following fixes an issue with CCPs likely_value when faced with
a vector CTOR containing undef SSA names and constants. This should
be classified as CONSTANT and not UNDEFINED.
PR tree-optimization/116057
* tree-ssa-ccp.cc (likely_value): Also walk CTORs in stmt
operands to look for constants.
* gcc.dg/torture/pr116057.c: New testcase.
(cherry picked from commit 1ea551514b9c285d801ac5ab8d78b22483ff65af)
Diffstat (limited to 'libstdc++-v3/config/locale')
0 files changed, 0 insertions, 0 deletions