aboutsummaryrefslogtreecommitdiff
path: root/libcpp
diff options
context:
space:
mode:
authorRichard Biener <rguenther@suse.de>2024-07-25 12:46:30 +0200
committerThomas Koenig <tkoenig@gcc.gnu.org>2024-07-28 19:05:57 +0200
commit3257d6e954c9650940162f08613fee25602ec5d4 (patch)
tree7c6848d3bf354c77a1560c79efe04f49d4ecefcc /libcpp
parentb42f73132c51aece4bed43cdceb4b8cf31197a2b (diff)
downloadgcc-3257d6e954c9650940162f08613fee25602ec5d4.zip
gcc-3257d6e954c9650940162f08613fee25602ec5d4.tar.gz
gcc-3257d6e954c9650940162f08613fee25602ec5d4.tar.bz2
tree-optimization/116081 - typedef vs. non-typedef in vectorization
The following fixes the code generation difference when using a typedef for the scalar type. The issue is using a pointer equality test for an INTEGER_CST which fails when the types are different variants. PR tree-optimization/116081 * tree-vect-loop.cc (get_initial_defs_for_reduction): Use operand_equal_p for comparing the element with the neutral op.
Diffstat (limited to 'libcpp')
0 files changed, 0 insertions, 0 deletions