public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [PATCH] Add a comma to comment in lower_eh_constructs_2
@ 2018-05-21  4:28 Zhouyi Zhou
  0 siblings, 0 replies; only message in thread
From: Zhouyi Zhou @ 2018-05-21  4:28 UTC (permalink / raw)
  To: gcc-patches; +Cc: Zhouyi Zhou

Hi

I think the comment in lower_eh_constructs_2 need a comma.

And I don't have write permission to GCC.

Bootstraped on x86-64

Thanks,
Zhouyi

Signed-off-by: Zhouyi Zhou <zhouzhouyi@gmail.com>

gcc/ChangeLog:

2018-05-21 Zhouyi Zhou <zhouzhouyi@gmail.com>
	* tree-eh.c (lower_eh_constructs_2): Add a comma to comment.
	
---
 gcc/tree-eh.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gcc/tree-eh.c b/gcc/tree-eh.c
index 30c6d9e..06fe748 100644
--- a/gcc/tree-eh.c
+++ b/gcc/tree-eh.c
@@ -2028,7 +2028,7 @@ lower_eh_constructs_2 (struct leh_state *state, gimple_stmt_iterator *gsi)
       /* FALLTHRU */
 
     case GIMPLE_ASSIGN:
-      /* If the stmt can throw use a new temporary for the assignment
+      /* If the stmt can throw, use a new temporary for the assignment
          to a LHS.  This makes sure the old value of the LHS is
 	 available on the EH edge.  Only do so for statements that
 	 potentially fall through (no noreturn calls e.g.), otherwise
-- 
2.1.4

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2018-05-21  4:10 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-05-21  4:28 [PATCH] Add a comma to comment in lower_eh_constructs_2 Zhouyi Zhou

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).