[committed] tree-switch-conversion: Fix a comment typo

Message ID ZLfO1++M5xx11xF5@tucnak
State Unresolved
Headers
Series [committed] tree-switch-conversion: Fix a comment typo |

Checks

Context Check Description
snail/gcc-patch-check warning Git am fail log

Commit Message

Jakub Jelinek July 19, 2023, 11:53 a.m. UTC
  Hi!

I've noticed a comment typo, this patch fixes that.

Bootstrapped/regtested on x86_64-linux and i686-linux, committed to trunk
as obvious.

2023-07-19  Jakub Jelinek  <jakub@redhat.com>

	* tree-switch-conversion.h (class bit_test_cluster): Fix comment typo.


	Jakub
  

Patch

--- gcc/tree-switch-conversion.h.jj	2023-02-17 12:45:08.218636117 +0100
+++ gcc/tree-switch-conversion.h	2023-07-18 10:10:21.398933379 +0200
@@ -303,7 +303,7 @@  public:
 /* A GIMPLE switch statement can be expanded to a short sequence of bit-wise
 comparisons.  "switch(x)" is converted into "if ((1 << (x-MINVAL)) & CST)"
 where CST and MINVAL are integer constants.  This is better than a series
-of compare-and-banch insns in some cases,  e.g. we can implement:
+of compare-and-branch insns in some cases,  e.g. we can implement:
 
 	if ((x==4) || (x==6) || (x==9) || (x==11))