diff options
author | Siddhesh Poyarekar <siddhesh@gotplt.org> | 2024-07-25 19:30:38 -0400 |
---|---|---|
committer | Thomas Koenig <tkoenig@gcc.gnu.org> | 2024-07-28 19:06:01 +0200 |
commit | e21f9f6054e16bc2d7cd3bc0226f53a758d92fe0 (patch) | |
tree | 34910c760d076116c4abfe8ab1bae0c1a7405fe2 /gcc/tree-ssa-loop-manip.c | |
parent | 9699dc4b4292a634e18fad2f323dcd34c292171b (diff) | |
download | gcc-e21f9f6054e16bc2d7cd3bc0226f53a758d92fe0.zip gcc-e21f9f6054e16bc2d7cd3bc0226f53a758d92fe0.tar.gz gcc-e21f9f6054e16bc2d7cd3bc0226f53a758d92fe0.tar.bz2 |
gimple-ssa-sprintf: Fix typo in range check
The code to scale ranges for wide chars in format_string incorrectly
checks range.likely to scale range.unlikely, which is a copy-paste typo
from the immediate previous condition.
gcc/ChangeLog:
* gimple-ssa-sprintf.cc (format_string): Fix type in range check
for UNLIKELY for wide chars.
Signed-off-by: Siddhesh Poyarekar <siddhesh@gotplt.org>
Diffstat (limited to 'gcc/tree-ssa-loop-manip.c')
0 files changed, 0 insertions, 0 deletions