diff options
author | Andrew Pinski <apinski@marvell.com> | 2022-11-28 20:10:28 +0000 |
---|---|---|
committer | Andrew Pinski <apinski@marvell.com> | 2022-11-28 20:13:19 +0000 |
commit | 47d81b1b89d615cea27307c713a4afe591e1cd2d (patch) | |
tree | e5b04347833c0b98da770cf6a549fc72366a4277 /gcc | |
parent | 940d5b56990fdf171f49517ae102673817b9c869 (diff) | |
download | gcc-47d81b1b89d615cea27307c713a4afe591e1cd2d.zip gcc-47d81b1b89d615cea27307c713a4afe591e1cd2d.tar.gz gcc-47d81b1b89d615cea27307c713a4afe591e1cd2d.tar.bz2 |
Fix comment for (A / (1 << B)) -> (A >> B).
There was a small typo where Also was done
twice. The second also should have been
handled. This fixes that.
Committed as obvious after a build.
gcc/ChangeLog:
* match.pd ((A / (1 << B)) -> (A >> B).):
Fix comment.
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/match.pd | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/match.pd b/gcc/match.pd index 67a0a68..f8610e3 100644 --- a/gcc/match.pd +++ b/gcc/match.pd @@ -354,7 +354,7 @@ DEFINE_INT_AND_FLOAT_ROUND_FN (RINT) Only for unsigned A. For signed A, this would not preserve rounding toward zero. For example: (-1 / ( 1 << B)) != -1 >> B. - Also also widening conversions, like: + Also handle widening conversions, like: (A / (unsigned long long) (1U << B)) -> (A >> B) or (A / (unsigned long long) (1 << B)) -> (A >> B). |