comparison gcc/gcc.h @ 63:b7f97abdc517 gcc-4.6-20100522

update gcc from gcc-4.5.0 to gcc-4.6
author ryoma <e075725@ie.u-ryukyu.ac.jp>
date Mon, 24 May 2010 12:47:05 +0900
parents a06113de4d67
children f6334be47118
comparison
equal deleted inserted replaced
56:3c8a44c06a95 63:b7f97abdc517
1 /* Header file for modules that link with gcc.c 1 /* Header file for modules that link with gcc.c
2 Copyright (C) 1999, 2000, 2001, 2003, 2004, 2007, 2008 2 Copyright (C) 1999, 2000, 2001, 2003, 2004, 2007, 2008, 2010
3 Free Software Foundation, Inc. 3 Free Software Foundation, Inc.
4 4
5 This file is part of GCC. 5 This file is part of GCC.
6 6
7 GCC is free software; you can redistribute it and/or modify it under 7 GCC is free software; you can redistribute it and/or modify it under
36 #define DEFAULT_SWITCH_TAKES_ARG(CHAR) \ 36 #define DEFAULT_SWITCH_TAKES_ARG(CHAR) \
37 ((CHAR) == 'D' || (CHAR) == 'U' || (CHAR) == 'o' \ 37 ((CHAR) == 'D' || (CHAR) == 'U' || (CHAR) == 'o' \
38 || (CHAR) == 'e' || (CHAR) == 'T' || (CHAR) == 'u' \ 38 || (CHAR) == 'e' || (CHAR) == 'T' || (CHAR) == 'u' \
39 || (CHAR) == 'I' || (CHAR) == 'J' || (CHAR) == 'm' \ 39 || (CHAR) == 'I' || (CHAR) == 'J' || (CHAR) == 'm' \
40 || (CHAR) == 'x' || (CHAR) == 'L' || (CHAR) == 'A' \ 40 || (CHAR) == 'x' || (CHAR) == 'L' || (CHAR) == 'A' \
41 || (CHAR) == 'V' || (CHAR) == 'B' || (CHAR) == 'b') 41 || (CHAR) == 'B' )
42 42
43 /* This defines which multi-letter switches take arguments. */ 43 /* This defines which multi-letter switches take arguments. */
44 44
45 #define DEFAULT_WORD_SWITCH_TAKES_ARG(STR) \ 45 #define DEFAULT_WORD_SWITCH_TAKES_ARG(STR) \
46 (!strcmp (STR, "Tdata") || !strcmp (STR, "Ttext") \ 46 (!strcmp (STR, "Tdata") || !strcmp (STR, "Ttext") \
50 || !strcmp (STR, "iwithprefix") || !strcmp (STR, "iwithprefixbefore") \ 50 || !strcmp (STR, "iwithprefix") || !strcmp (STR, "iwithprefixbefore") \
51 || !strcmp (STR, "iquote") || !strcmp (STR, "isystem") \ 51 || !strcmp (STR, "iquote") || !strcmp (STR, "isystem") \
52 || !strcmp (STR, "isysroot") \ 52 || !strcmp (STR, "isysroot") \
53 || !strcmp (STR, "-param") || !strcmp (STR, "specs") \ 53 || !strcmp (STR, "-param") || !strcmp (STR, "specs") \
54 || !strcmp (STR, "MF") || !strcmp (STR, "MT") || !strcmp (STR, "MQ") \ 54 || !strcmp (STR, "MF") || !strcmp (STR, "MT") || !strcmp (STR, "MQ") \
55 || !strcmp (STR, "fintrinsic-modules-path") || !strcmp (STR, "dumpbase")) 55 || !strcmp (STR, "fintrinsic-modules-path") \
56 || !strcmp (STR, "dumpbase") || !strcmp (STR, "dumpdir"))
56 57
57 58
58 /* These are exported by gcc.c. */ 59 /* These are exported by gcc.c. */
59 extern int do_spec (const char *); 60 extern int do_spec (const char *);
60 extern void record_temp_file (const char *, int, int); 61 extern void record_temp_file (const char *, int, int);