OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
PR rtl-optimization/36006
[pf3gnuchains/gcc-fork.git]
/
gcc
/
cppspec.c
diff --git
a/gcc/cppspec.c
b/gcc/cppspec.c
index
f53cff2
..
344da17
100644
(file)
--- a/
gcc/cppspec.c
+++ b/
gcc/cppspec.c
@@
-1,11
+1,11
@@
/* Specific flags and argument handling of the C preprocessor.
/* Specific flags and argument handling of the C preprocessor.
- Copyright (C) 1999 Free Software Foundation, Inc.
+ Copyright (C) 1999
, 2007
Free Software Foundation, Inc.
This file is part of GCC.
GCC is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free
This file is part of GCC.
GCC is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free
-Software Foundation; either version
2
, or (at your option) any later
+Software Foundation; either version
3
, or (at your option) any later
version.
GCC is distributed in the hope that it will be useful, but WITHOUT ANY
version.
GCC is distributed in the hope that it will be useful, but WITHOUT ANY
@@
-14,9
+14,8
@@
FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
for more details.
You should have received a copy of the GNU General Public License
for more details.
You should have received a copy of the GNU General Public License
-along with GCC; see the file COPYING. If not, write to the Free
-Software Foundation, 59 Temple Place - Suite 330, Boston, MA
-02111-1307, USA. */
+along with GCC; see the file COPYING3. If not see
+<http://www.gnu.org/licenses/>. */
#include "config.h"
#include "system.h"
#include "config.h"
#include "system.h"
@@
-46,6
+45,7
@@
static const char *const known_suffixes[] =
{
".c", ".C", ".S", ".m",
".cc", ".cxx", ".cpp", ".cp", ".c++",
{
".c", ".C", ".S", ".m",
".cc", ".cxx", ".cpp", ".cp", ".c++",
+ ".sx",
NULL
};
NULL
};
@@
-172,7
+172,7
@@
lang_specific_driver (int *in_argc, const char *const **in_argv,
return;
/* One more slot for a terminating null. */
return;
/* One more slot for a terminating null. */
- new_argv =
xmalloc ((new_argc + 1) * sizeof(char *)
);
+ new_argv =
XNEWVEC (const char *, new_argc + 1
);
new_argv[0] = argv[0];
j = 1;
new_argv[0] = argv[0];
j = 1;
@@
-208,9
+208,3
@@
int lang_specific_pre_link (void)
/* Number of extra output files that lang_specific_pre_link may generate. */
int lang_specific_extra_outfiles = 0; /* Not used for cpp. */
/* Number of extra output files that lang_specific_pre_link may generate. */
int lang_specific_extra_outfiles = 0; /* Not used for cpp. */
-
-/* Table of language-specific spec functions. */
-const struct spec_function lang_specific_spec_functions[] =
-{
- { 0, 0 }
-};