From 509c1e9cf24a513738150f39f9359442c13261b8 Mon Sep 17 00:00:00 2001 From: "Kaveh R. Ghazi" Date: Sat, 11 Dec 1999 15:22:24 +0000 Subject: [PATCH] typeck.c (apply_chill_array_layout, [...]): Avoid the use of ANSI string concatenation. * typeck.c (apply_chill_array_layout, apply_chill_field_layout): Avoid the use of ANSI string concatenation. * expr.c (chill_expand_case_expr): Likewise. From-SVN: r30867 --- gcc/ch/ChangeLog | 7 +++++++ gcc/ch/expr.c | 3 +-- gcc/ch/typeck.c | 9 +++------ 3 files changed, 11 insertions(+), 8 deletions(-) diff --git a/gcc/ch/ChangeLog b/gcc/ch/ChangeLog index f7688a1be2d..8dbfbaaa334 100644 --- a/gcc/ch/ChangeLog +++ b/gcc/ch/ChangeLog @@ -1,3 +1,10 @@ +1999-12-11 Kaveh R. Ghazi + + * typeck.c (apply_chill_array_layout, apply_chill_field_layout): + Avoid the use of ANSI string concatenation. + + * expr.c (chill_expand_case_expr): Likewise. + 1999-11-23 Kaveh R. Ghazi * expr.c (build_chill_function_call): Don't call a variadic diff --git a/gcc/ch/expr.c b/gcc/ch/expr.c index e68f3a0b421..89ff5738c1f 100644 --- a/gcc/ch/expr.c +++ b/gcc/ch/expr.c @@ -211,8 +211,7 @@ chill_expand_case_expr (expr) chill_handle_case_label (TREE_VALUE (label), selector); labels = TREE_CHAIN (labels); if (labels != NULL_TREE) - error ("The number of CASE selectors does not match the number " - "of CASE label lists"); + error ("The number of CASE selectors does not match the number of CASE label lists"); } } diff --git a/gcc/ch/typeck.c b/gcc/ch/typeck.c index d6eeb2a66f1..fb2a2284243 100644 --- a/gcc/ch/typeck.c +++ b/gcc/ch/typeck.c @@ -2782,8 +2782,7 @@ apply_chill_array_layout (array_type) stepsize_specified = 1; if (stepsize != natural_length) - sorry ("Stepsize in STEP must be the natural width of " - "the array element mode"); + sorry ("Stepsize in STEP must be the natural width of the array element mode"); } } @@ -2876,8 +2875,7 @@ apply_chill_array_layout (array_type) } if (! length_error && length != natural_length) { - sorry ("The length specified on POS within STEP must be " - "the natural length of the array element type"); + sorry ("The length specified on POS within STEP must be the natural length of the array element type"); } } } @@ -3175,8 +3173,7 @@ apply_chill_field_layout (decl, next_struct_offset) } if (length != natural_length && ! pos_error) { - sorry ("The length specified on POS must be the natural length " - "of the field type"); + sorry ("The length specified on POS must be the natural length of the field type"); length = natural_length; } } -- 2.30.2