OSDN Git Service

* config/s390/s390.c (s390_emit_epilogue): Always restore registers
[pf3gnuchains/gcc-fork.git] / gcc / gensupport.c
index ae42a41..d7cb673 100644 (file)
@@ -76,10 +76,10 @@ struct file_name_list
     const char *fname;
   };
 
-struct file_name_list *include = 0;     /* First dir to search */
+struct file_name_list *first_dir_md_include = 0;  /* First dir to search */
         /* First dir to search for <file> */
 struct file_name_list *first_bracket_include = 0;
-struct file_name_list *last_include = 0;        /* Last in chain */
+struct file_name_list *last_dir_md_include = 0;        /* Last in chain */
 
 static void remove_constraints PARAMS ((rtx));
 static void process_rtx PARAMS ((rtx, int));
@@ -227,7 +227,7 @@ process_include (desc, lineno)
   struct file_name_list *stackp;
   int flen;
 
-  stackp = include;
+  stackp = first_dir_md_include;
 
   /* If specified file name is absolute, just open it.  */
   if (IS_ABSOLUTE_PATHNAME (filename) || !stackp)
@@ -485,7 +485,7 @@ is_predicable (elem)
     return 0;
 
   message_with_line (elem->lineno,
-                    "Unknown value `%s' for `predicable' attribute",
+                    "unknown value `%s' for `predicable' attribute",
                     value);
   errors = 1;
   return 0;
@@ -508,7 +508,7 @@ identify_predicable_attribute ()
       goto found;
 
   message_with_line (define_cond_exec_queue->lineno,
-                    "Attribute `predicable' not defined");
+                    "attribute `predicable' not defined");
   errors = 1;
   return;
 
@@ -522,7 +522,7 @@ identify_predicable_attribute ()
   if (p_true == NULL || strchr (++p_true, ',') != NULL)
     {
       message_with_line (elem->lineno,
-                        "Attribute `predicable' is not a boolean");
+                        "attribute `predicable' is not a boolean");
       errors = 1;
       return;
     }
@@ -539,13 +539,13 @@ identify_predicable_attribute ()
 
     case CONST:
       message_with_line (elem->lineno,
-                        "Attribute `predicable' cannot be const");
+                        "attribute `predicable' cannot be const");
       errors = 1;
       return;
 
     default:
       message_with_line (elem->lineno,
-                        "Attribute `predicable' must have a constant default");
+                        "attribute `predicable' must have a constant default");
       errors = 1;
       return;
     }
@@ -557,7 +557,7 @@ identify_predicable_attribute ()
   else
     {
       message_with_line (elem->lineno,
-                        "Unknown value `%s' for `predicable' attribute",
+                        "unknown value `%s' for `predicable' attribute",
                         value);
       errors = 1;
     }
@@ -658,7 +658,7 @@ alter_predicate_for_insn (pattern, alt, max_op, lineno)
        if (n_alternatives (c) != 1)
          {
            message_with_line (lineno,
-                              "Too many alternatives for operand %d",
+                              "too many alternatives for operand %d",
                               XINT (pattern, 0));
            errors = 1;
            return NULL;
@@ -981,15 +981,15 @@ init_md_reader_args (argc, argv)
                dirtmp = (struct file_name_list *)
                  xmalloc (sizeof (struct file_name_list));
                dirtmp->next = 0;       /* New one goes on the end */
-               if (include == 0)
-                 include = dirtmp;
+               if (first_dir_md_include == 0)
+                 first_dir_md_include = dirtmp;
                else
-                 last_include->next = dirtmp;
-               last_include = dirtmp;  /* Tail follows the last one */
+                 last_dir_md_include->next = dirtmp;
+               last_dir_md_include = dirtmp;   /* Tail follows the last one */
                if (argv[i][1] == 'I' && argv[i][2] != 0)
                  dirtmp->fname = argv[i] + 2;
                else if (i + 1 == argc)
-                 fatal ("Directory name missing after -I option");
+                 fatal ("directory name missing after -I option");
                else
                  dirtmp->fname = argv[++i];
                if (strlen (dirtmp->fname) > max_include_len)
@@ -997,7 +997,7 @@ init_md_reader_args (argc, argv)
              }
              break;
            default:
-             fatal ("Invalid option `%s'", argv[i]);
+             fatal ("invalid option `%s'", argv[i]);
 
            }
        }
@@ -1015,12 +1015,9 @@ init_md_reader (filename)
   int c;
   char *lastsl;
 
-  if (!IS_ABSOLUTE_PATHNAME (filename))
-    {
-      lastsl = strrchr (filename, '/');
-      if (lastsl != NULL) 
-       base_dir = save_string (filename, lastsl - filename + 1 );
-    }
+  lastsl = strrchr (filename, '/');
+  if (lastsl != NULL) 
+    base_dir = save_string (filename, lastsl - filename + 1 );
 
   read_rtx_filename = filename;
   input_file = fopen (filename, "r");