diff options
author | Richard Biener <rguenther@suse.de> | 2022-11-11 14:28:52 +0100 |
---|---|---|
committer | Richard Biener <rguenther@suse.de> | 2022-11-11 15:04:53 +0100 |
commit | 81de4037454275f8ed6d858fbc129e832c6147ef (patch) | |
tree | b8d2b0686636bd309172205de1d9ff31cd3a5d03 /gcc/config/aarch64/aarch64-tune.md | |
parent | 4b3874d803e7961f38b22fa798517a63171bb985 (diff) | |
download | gcc-81de4037454275f8ed6d858fbc129e832c6147ef.zip gcc-81de4037454275f8ed6d858fbc129e832c6147ef.tar.gz gcc-81de4037454275f8ed6d858fbc129e832c6147ef.tar.bz2 |
tree-optimization/107554 - fix ICE in stlen optimization
The following fixes a wrongly typed variable causing an ICE.
PR tree-optimization/107554
* tree-ssa-strlen.cc (strlen_pass::count_nonzero_bytes):
Use unsigned HOST_WIDE_INT type for the strlen.
* gcc.dg/pr107554.c: New testcase.
Co-Authored-By: Nikita Voronov <nik_1357@mail.ru>
Diffstat (limited to 'gcc/config/aarch64/aarch64-tune.md')
0 files changed, 0 insertions, 0 deletions