diff options
author | Kaveh R. Ghazi <ghazi@caip.rutgers.edu> | 1999-12-11 15:22:24 +0000 |
---|---|---|
committer | Kaveh Ghazi <ghazi@gcc.gnu.org> | 1999-12-11 15:22:24 +0000 |
commit | 509c1e9cf24a513738150f39f9359442c13261b8 (patch) | |
tree | 00557640ba653716ebb420d3dd06a6ef1b1d0918 | |
parent | 53a12329af305dcbe9b9e0de09ae71c6cfb5ecfc (diff) | |
download | gcc-509c1e9cf24a513738150f39f9359442c13261b8.zip gcc-509c1e9cf24a513738150f39f9359442c13261b8.tar.gz gcc-509c1e9cf24a513738150f39f9359442c13261b8.tar.bz2 |
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
-rw-r--r-- | gcc/ch/ChangeLog | 7 | ||||
-rw-r--r-- | gcc/ch/expr.c | 3 | ||||
-rw-r--r-- | gcc/ch/typeck.c | 9 |
3 files changed, 11 insertions, 8 deletions
diff --git a/gcc/ch/ChangeLog b/gcc/ch/ChangeLog index f7688a1..8dbfbaa 100644 --- a/gcc/ch/ChangeLog +++ b/gcc/ch/ChangeLog @@ -1,3 +1,10 @@ +1999-12-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> + + * 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 <ghazi@caip.rutgers.edu> * expr.c (build_chill_function_call): Don't call a variadic diff --git a/gcc/ch/expr.c b/gcc/ch/expr.c index e68f3a0..89ff573 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 d6eeb2a..fb2a228 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; } } |