aboutsummaryrefslogtreecommitdiff
path: root/gcc/doc
diff options
context:
space:
mode:
authorRichard Biener <rguenther@suse.de>2024-07-24 13:16:35 +0200
committerThomas Koenig <tkoenig@gcc.gnu.org>2024-07-28 19:05:51 +0200
commit2c8986cc98fac56857989a692901c505c0f6ec01 (patch)
treef40a33f51df51dfc4b45746ab5d3b74b330c8886 /gcc/doc
parent5a6cc54ce068be40a8d4c1608963cb3644510a4d (diff)
downloadgcc-2c8986cc98fac56857989a692901c505c0f6ec01.zip
gcc-2c8986cc98fac56857989a692901c505c0f6ec01.tar.gz
gcc-2c8986cc98fac56857989a692901c505c0f6ec01.tar.bz2
tree-optimization/116057 - wrong code with CCP and vector CTORs
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.
Diffstat (limited to 'gcc/doc')
0 files changed, 0 insertions, 0 deletions