diff mbox series

cfgloop.h: Reword comment describing is_exit flag

Message ID 20200827131852.iytdspfiur2gowpu@arm.com
State New
Headers show
Series cfgloop.h: Reword comment describing is_exit flag | expand

Commit Message

Alex Coplan Aug. 27, 2020, 1:18 p.m. UTC
This simple patch rewords a comment in cfgloop.h to improve the
grammar and readability.

OK for master?

Thanks,
Alex

---

gcc/ChangeLog:

	* cfgloop.h (nb_iter_bound): Reword comment describing is_exit.

Comments

Jeff Law Sept. 17, 2020, 10:44 p.m. UTC | #1
On 8/27/20 7:18 AM, Alex Coplan wrote:
> This simple patch rewords a comment in cfgloop.h to improve the
> grammar and readability.
>
> OK for master?
>
> Thanks,
> Alex
>
> ---
>
> gcc/ChangeLog:
>
> 	* cfgloop.h (nb_iter_bound): Reword comment describing is_exit.

OK

jeff
diff mbox series

Patch

diff --git a/gcc/cfgloop.h b/gcc/cfgloop.h
index 18b404e292f..be978288aab 100644
--- a/gcc/cfgloop.h
+++ b/gcc/cfgloop.h
@@ -60,9 +60,9 @@  public:
      b) it is consistent with the result of number_of_iterations_exit.  */
   widest_int bound;
 
-  /* True if the statement will cause the loop to be leaved the (at most)
-     BOUND + 1-st time it is executed, that is, all the statements after it
-     are executed at most BOUND times.  */
+  /* True if, after executing the statement BOUND + 1 times, we will
+     leave the loop; that is, all the statements after it are executed at most
+     BOUND times.  */
   bool is_exit;
 
   /* The next bound in the list.  */