OSDN Git Service

* typeck.c (apply_chill_array_layout, apply_chill_field_layout):
authorghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 11 Dec 1999 15:22:24 +0000 (15:22 +0000)
committerghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 11 Dec 1999 15:22:24 +0000 (15:22 +0000)
        Avoid the use of ANSI string concatenation.

        * expr.c (chill_expand_case_expr): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30867 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ch/ChangeLog
gcc/ch/expr.c
gcc/ch/typeck.c

index f7688a1..8dbfbaa 100644 (file)
@@ -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
index e68f3a0..89ff573 100644 (file)
@@ -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");
                
            }
         }
index d6eeb2a..fb2a228 100644 (file)
@@ -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;
            }
        }