aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/gcc-interface/utils2.c
diff options
context:
space:
mode:
authorRainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>2016-09-26 20:13:21 +0000
committerRainer Orth <ro@gcc.gnu.org>2016-09-26 20:13:21 +0000
commitfbedd170be75da7195484808b7157152b9906173 (patch)
treeb37e490b1419791aca763a6d47ac22de295fefa9 /gcc/ada/gcc-interface/utils2.c
parenta184e37f0c1e72404b92c1bef9aa812b75b16fd8 (diff)
downloadgcc-fbedd170be75da7195484808b7157152b9906173.zip
gcc-fbedd170be75da7195484808b7157152b9906173.tar.gz
gcc-fbedd170be75da7195484808b7157152b9906173.tar.bz2
Fix fallthrough comments for Ada, Solaris/x86, SPARC
gcc: * config/i386/i386.c (ix86_print_operand) [HAVE_AS_IX86_CMOV_SUN_SYNTAX]: Add gcc_fallthrough. * config/sparc/sparc.c (check_pic): Add fallthrough comment. (epilogue_renumber): Likewise. gcc/ada: * gcc-interface/decl.c: Fix fall through comment formatting. * gcc-interface/misc.c: Likewise. * gcc-interface/trans.c: Likewise. * gcc-interface/utils.c: Likewise. * gcc-interface/utils2.c: Likewise. From-SVN: r240509
Diffstat (limited to 'gcc/ada/gcc-interface/utils2.c')
-rw-r--r--gcc/ada/gcc-interface/utils2.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/gcc/ada/gcc-interface/utils2.c b/gcc/ada/gcc-interface/utils2.c
index 1e5b3ef..8cb97fb 100644
--- a/gcc/ada/gcc-interface/utils2.c
+++ b/gcc/ada/gcc-interface/utils2.c
@@ -180,7 +180,7 @@ known_alignment (tree exp)
return known_alignment (t);
}
- /* ... fall through ... */
+ /* fall through */
default:
/* For other pointer expressions, we assume that the pointed-to object
@@ -1011,7 +1011,7 @@ build_binary_op (enum tree_code op_code, tree result_type,
if (!operation_type)
operation_type = TREE_TYPE (left_type);
- /* ... fall through ... */
+ /* fall through */
case ARRAY_RANGE_REF:
/* First look through conversion between type variants. Note that
@@ -1230,7 +1230,7 @@ build_binary_op (enum tree_code op_code, tree result_type,
op_code = MINUS_EXPR;
modulus = NULL_TREE;
- /* ... fall through ... */
+ /* fall through */
case PLUS_EXPR:
case MINUS_EXPR:
@@ -1244,7 +1244,7 @@ build_binary_op (enum tree_code op_code, tree result_type,
= gnat_type_for_mode (TYPE_MODE (operation_type),
TYPE_UNSIGNED (operation_type));
- /* ... fall through ... */
+ /* fall through */
default:
common:
@@ -1466,7 +1466,7 @@ build_unary_op (enum tree_code op_code, tree result_type, tree operand)
return build_unary_op (ADDR_EXPR, result_type,
TREE_OPERAND (operand, 0));
- /* ... fallthru ... */
+ /* fallthru */
case VIEW_CONVERT_EXPR:
/* If this just a variant conversion or if the conversion doesn't
@@ -1487,7 +1487,7 @@ build_unary_op (enum tree_code op_code, tree result_type, tree operand)
case CONST_DECL:
operand = DECL_CONST_CORRESPONDING_VAR (operand);
- /* ... fall through ... */
+ /* fall through */
default:
common:
@@ -1648,7 +1648,7 @@ build_unary_op (enum tree_code op_code, tree result_type, tree operand)
}
}
- /* ... fall through ... */
+ /* fall through */
default:
gcc_assert (operation_type == base_type);