This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[committed] Adjust fall through comment


This patch adjusts a fall through comment so that our -Wimplicit-fallthrough
comment parsing handles this well.

Applying to trunk.

2016-09-20  Marek Polacek  <polacek@redhat.com>

	* trans-intrinsic.c (conv_expr_ref_to_caf_ref): Adjust fall through
	comment.

diff --git gcc/fortran/trans-intrinsic.c gcc/fortran/trans-intrinsic.c
index d6453c5..c6883dc 100644
--- gcc/fortran/trans-intrinsic.c
+++ gcc/fortran/trans-intrinsic.c
@@ -1365,7 +1365,7 @@ conv_expr_ref_to_caf_ref (stmtblock_t *block, gfc_expr *expr)
 		       handling easier.  */
 		    stride = gfc_index_one_node;
 
-		  /* Intentionally fall through.  */
+		  /* Fall through.  */
 		case DIMEN_ELEMENT:
 		  if (ref->u.ar.start[i])
 		    {

	Marek


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]