diff options
author | Andrew Pinski <andrew.pinski@oss.qualcomm.com> | 2025-09-02 13:57:26 -0700 |
---|---|---|
committer | Andrew Pinski <andrew.pinski@oss.qualcomm.com> | 2025-09-02 14:06:14 -0700 |
commit | caa1c2f42691d68af4d894a5c3e700ecd2dba080 (patch) | |
tree | 7ed805786566918630d1d617b1ed8f7310f5fd8e /gcc/testsuite/gcc.dg/plugin/taint-pr112975.c | |
parent | a6e0a610e6546dc3e6f26deb7b925cc1b2a681a5 (diff) | |
download | gcc-master.zip gcc-master.tar.gz gcc-master.tar.bz2 |
Like the previous commit but for strlen copy so we can backport
this commit. The loads should have the correct alignment on them
so we need to create newly aligned types when the alignment of the
pointer is less than the alignment of the current type.
Pushed as pre-approved by https://gcc.gnu.org/pipermail/gcc-patches/2025-September/694016.html
after a bootstrap/test on x86_64-linux-gnu.
gcc/ChangeLog:
* tree-ssa-strlen.cc (strlen_pass::handle_builtin_memcmp): Create
unaligned types if the alignment of the pointers is less
than the alignment of the new type.
Signed-off-by: Andrew Pinski <andrew.pinski@oss.qualcomm.com>
Diffstat (limited to 'gcc/testsuite/gcc.dg/plugin/taint-pr112975.c')
0 files changed, 0 insertions, 0 deletions