diff options
author | Richard Biener <rguenther@suse.de> | 2024-03-06 09:02:31 +0100 |
---|---|---|
committer | Richard Biener <rguenther@suse.de> | 2024-03-06 10:27:34 +0100 |
commit | 0249744a9fe0775c2c895727aeebec4c59fd5f95 (patch) | |
tree | f3c62600b0755b443a3005b2969547a31d20044b /gcc/system.h | |
parent | 1157d5de35b41eabe5ee51d532224864173c37bd (diff) | |
download | gcc-0249744a9fe0775c2c895727aeebec4c59fd5f95.zip gcc-0249744a9fe0775c2c895727aeebec4c59fd5f95.tar.gz gcc-0249744a9fe0775c2c895727aeebec4c59fd5f95.tar.bz2 |
tree-optimization/114246 - invalid call argument from DSE
The following makes sure to strip type conversions added by
build_fold_addr_expr before placing the result in a call argument.
PR tree-optimization/114246
* tree-ssa-dse.cc (increment_start_addr): Strip useless
type conversions from the adjusted address.
* gcc.dg/torture/pr114246.c: New testcase.
Diffstat (limited to 'gcc/system.h')
0 files changed, 0 insertions, 0 deletions