[gcc-2.95.3 patch] fixed spelling mistakes in usage and error messages

Dominique Pelle dpelle@cisco.com
Sun Jun 3 19:24:00 GMT 2001


*** ./gcc/ch/lang-options.h.orig	Sun Jun  3 18:38:39 2001
--- ./gcc/ch/lang-options.h	Sun Jun  3 18:39:47 2001
*************** DEFINE_LANG_NAME ("Chill")
*** 28,39 ****
       
    { "-lang-chill", "" },
    { "-flocal-loop-counter", "" },
!   { "-fno-local-loop-counter", "Do not make seperate scopes for every 'for' loop"},
    { "-fgrant-only", "Stop after successfully generating a grant file" },
    { "-fchill-grant-only", "" },
    { "-fold-strings", "Implement the 1984 Chill string semantics" },
    { "-fno-old-strings", "" },
!   { "-fignore-case", "convert all idenitifers to lower case" },
    { "-fno-ignore-case", "" },
    { "-fpack", "Pack structures into available space"},
    { "-fno-pack", "" },
--- 28,39 ----
       
    { "-lang-chill", "" },
    { "-flocal-loop-counter", "" },
!   { "-fno-local-loop-counter", "Do not make separate scopes for every 'for' loop"},
    { "-fgrant-only", "Stop after successfully generating a grant file" },
    { "-fchill-grant-only", "" },
    { "-fold-strings", "Implement the 1984 Chill string semantics" },
    { "-fno-old-strings", "" },
!   { "-fignore-case", "convert all identifiers to lower case" },
    { "-fno-ignore-case", "" },
    { "-fpack", "Pack structures into available space"},
    { "-fno-pack", "" },
*** ./gcc/ch/tasking.c.orig	Sun Jun  3 18:40:02 2001
--- ./gcc/ch/tasking.c	Sun Jun  3 19:00:49 2001
*************** build_receive_buffer_case_label (buffer,
*** 1945,1951 ****
  
    if (TREE_CHAIN (loclist) != NULL_TREE)
      {
!       error ("buffer receive alternative requires only 1 defining occurence.");
        return error_mark_node;
      }
  
--- 1945,1951 ----
  
    if (TREE_CHAIN (loclist) != NULL_TREE)
      {
!       error ("buffer receive alternative requires only 1 defining occurrence.");
        return error_mark_node;
      }
  
*************** build_receive_buffer_case_label (buffer,
*** 2032,2038 ****
  
    if (! CH_LOCATION_P (var))
      {
!       error ("defining occurence in receive buffer alternative must be a location.");
        had_errors = 1;
      }
  
--- 2032,2038 ----
  
    if (! CH_LOCATION_P (var))
      {
!       error ("defining occurrence in receive buffer alternative must be a location.");
        had_errors = 1;
      }
  
*************** build_receive_case_label (signame, locli
*** 2083,2089 ****
   * LABEL_CNT is the case-label counter passed from build_receive_case_start.
   * ELSE_CLAUSE defines if the RECEIVE CASE action had an ELSE(1) or not(0).
   * BUF_LIST is a tree-list of tree-lists, where TREE_VALUE defines the 
!  * BUFFER location and TREE_PURPOSE defines the defining occurence.
   */
  static void
  build_receive_buffer_case_end (buf_list, else_clause)
--- 2083,2089 ----
   * LABEL_CNT is the case-label counter passed from build_receive_case_start.
   * ELSE_CLAUSE defines if the RECEIVE CASE action had an ELSE(1) or not(0).
   * BUF_LIST is a tree-list of tree-lists, where TREE_VALUE defines the 
!  * BUFFER location and TREE_PURPOSE defines the defining occurrence.
   */
  static void
  build_receive_buffer_case_end (buf_list, else_clause)
*** ./gcc/cp/decl.c.orig	Sun Jun  3 18:40:58 2001
--- ./gcc/cp/decl.c	Sun Jun  3 18:41:22 2001
*************** check_default_argument (decl, arg)
*** 11842,11848 ****
  	cp_error ("default argument for `%#D' has type `%T'", 
  		  decl, TREE_TYPE (arg));
        else
! 	cp_error ("default argument for paramter of type `%T' has type `%T'",
  		  decl_type, TREE_TYPE (arg));
  
        return error_mark_node;
--- 11842,11848 ----
  	cp_error ("default argument for `%#D' has type `%T'", 
  		  decl, TREE_TYPE (arg));
        else
! 	cp_error ("default argument for parameter of type `%T' has type `%T'",
  		  decl_type, TREE_TYPE (arg));
  
        return error_mark_node;
*** ./gcc/java/class.c.orig	Sun Jun  3 18:42:45 2001
--- ./gcc/java/class.c	Sun Jun  3 18:43:10 2001
*************** set_constant_value (field, constant)
*** 501,507 ****
    if (field == NULL_TREE)
      warning ("misplaced ConstantValue attribute (not in any field)");
    else if (DECL_INITIAL (field) != NULL_TREE)
!     warning ("duplicate ConstanValue atribute for field '%s'",
  	     IDENTIFIER_POINTER (DECL_NAME (field)));
    else
      DECL_INITIAL (field) = constant;
--- 501,507 ----
    if (field == NULL_TREE)
      warning ("misplaced ConstantValue attribute (not in any field)");
    else if (DECL_INITIAL (field) != NULL_TREE)
!     warning ("duplicate ConstanValue attribute for field '%s'",
  	     IDENTIFIER_POINTER (DECL_NAME (field)));
    else
      DECL_INITIAL (field) = constant;
*** ./gcc/java/parse.c.orig	Sun Jun  3 18:43:25 2001
--- ./gcc/java/parse.c	Sun Jun  3 18:44:01 2001
*************** create_interface (flags, id, super)
*** 5622,5628 ****
    if ((flags & ACC_ABSTRACT) && flag_redundant)
      parse_warning_context 
        (MODIFIER_WFL (ABSTRACT_TK),
!        "Redundant use of `abstract' modifier. Interface `%s' is implicitely "
         "abstract", IDENTIFIER_POINTER (raw_name));
  
    /* Create a new decl if DECL is NULL, otherwise fix it */
--- 5622,5628 ----
    if ((flags & ACC_ABSTRACT) && flag_redundant)
      parse_warning_context 
        (MODIFIER_WFL (ABSTRACT_TK),
!        "Redundant use of `abstract' modifier. Interface `%s' is implicitly "
         "abstract", IDENTIFIER_POINTER (raw_name));
  
    /* Create a new decl if DECL is NULL, otherwise fix it */
*** ./gcc/gengenrtl.c.orig	Sun Jun  3 18:42:20 2001
--- ./gcc/gengenrtl.c	Sun Jun  3 18:42:36 2001
*************** static void
*** 249,255 ****
  genlegend (f)
       FILE *f;
  {
!   fputs ("/* Generated automaticaly by the program `gengenrtl'\n", f);
    fputs ("   from the RTL description file `rtl.def' */\n\n", f);
  }
  
--- 249,255 ----
  genlegend (f)
       FILE *f;
  {
!   fputs ("/* Generated automatically by the program `gengenrtl'\n", f);
    fputs ("   from the RTL description file `rtl.def' */\n\n", f);
  }
  
*** ./gcc/cccp.c.orig	Sun Jun  3 18:54:28 2001
--- ./gcc/cccp.c	Sun Jun  3 18:55:25 2001
*************** print_help ()
*** 1138,1144 ****
    printf ("  -traditional              Follow K&R pre-processor behaviour\n");
    printf ("  -trigraphs                Support ANSI C trigraphs\n");
    printf ("  -lang-c                   Assume that the input sources are in C\n");
!   printf ("  -lang-c89                 Assume that the input is C89; depricated\n");
    printf ("  -lang-c++                 Assume that the input sources are in C++\n");
    printf ("  -lang-objc                Assume that the input sources are in ObjectiveC\n");
    printf ("  -lang-objc++              Assume that the input sources are in ObjectiveC++\n");
--- 1138,1144 ----
    printf ("  -traditional              Follow K&R pre-processor behaviour\n");
    printf ("  -trigraphs                Support ANSI C trigraphs\n");
    printf ("  -lang-c                   Assume that the input sources are in C\n");
!   printf ("  -lang-c89                 Assume that the input is C89; deprecated\n");
    printf ("  -lang-c++                 Assume that the input sources are in C++\n");
    printf ("  -lang-objc                Assume that the input sources are in ObjectiveC\n");
    printf ("  -lang-objc++              Assume that the input sources are in ObjectiveC++\n");



More information about the Gcc-patches mailing list