OSDN Git Service

* ira-build.c (ira_create_object): New arg SUBWORD; all callers changed.
[pf3gnuchains/gcc-fork.git] / gcc / cppspec.c
index 8c57ca3..c3adaa1 100644 (file)
@@ -1,5 +1,5 @@
 /* Specific flags and argument handling of the C preprocessor.
-   Copyright (C) 1999, 2007 Free Software Foundation, Inc.
+   Copyright (C) 1999, 2007, 2010 Free Software Foundation, Inc.
 
 This file is part of GCC.
 
@@ -45,6 +45,7 @@ static const char *const known_suffixes[] =
 {
   ".c",  ".C",   ".S",   ".m",
   ".cc", ".cxx", ".cpp", ".cp",  ".c++",
+  ".sx",
   NULL
 };
 
@@ -102,8 +103,8 @@ lang_specific_driver (int *in_argc, const char *const **in_argv,
                need_E = 0;
              else if (argv[i][1] == 'S' || argv[i][1] == 'c')
                {
-                 fatal ("\"%s\" is not a valid option to the preprocessor",
-                        argv[i]);
+                 fatal_error ("%qs is not a valid option to the "
+                              "preprocessor", argv[i]);
                  return;
                }
              else if (argv[i][1] == 'x')
@@ -124,7 +125,7 @@ lang_specific_driver (int *in_argc, const char *const **in_argv,
          seen_input++;
          if (seen_input == 3)
            {
-             fatal ("too many input files");
+             fatal_error ("too many input files");
              return;
            }
          else if (seen_input == 2)