Mercurial > hg > CbC > CbC_gcc
comparison gcc/common/config/pa/pa-common.c @ 131:84e7813d76e9
gcc-8.2
author | mir3636 |
---|---|
date | Thu, 25 Oct 2018 07:37:49 +0900 |
parents | 04ced10e8804 |
children | 1830386684a0 |
comparison
equal
deleted
inserted
replaced
111:04ced10e8804 | 131:84e7813d76e9 |
---|---|
1 /* HPPA common hooks. | 1 /* HPPA common hooks. |
2 Copyright (C) 1992-2017 Free Software Foundation, Inc. | 2 Copyright (C) 1992-2018 Free Software Foundation, Inc. |
3 | 3 |
4 This file is part of GCC. | 4 This file is part of GCC. |
5 | 5 |
6 GCC is free software; you can redistribute it and/or modify | 6 GCC is free software; you can redistribute it and/or modify |
7 it under the terms of the GNU General Public License as published by | 7 it under the terms of the GNU General Public License as published by |
23 #include "tm.h" | 23 #include "tm.h" |
24 #include "common/common-target.h" | 24 #include "common/common-target.h" |
25 #include "common/common-target-def.h" | 25 #include "common/common-target-def.h" |
26 #include "opts.h" | 26 #include "opts.h" |
27 #include "flags.h" | 27 #include "flags.h" |
28 | |
29 /* Implement TARGET_OPTION_OPTIMIZATION_TABLE. */ | |
30 static const struct default_options pa_option_optimization_table[] = | |
31 { | |
32 { OPT_LEVELS_1_PLUS, OPT_fomit_frame_pointer, NULL, 1 }, | |
33 { OPT_LEVELS_NONE, 0, NULL, 0 } | |
34 }; | |
35 | 28 |
36 /* Implement TARGET_HANDLE_OPTION. */ | 29 /* Implement TARGET_HANDLE_OPTION. */ |
37 | 30 |
38 static bool | 31 static bool |
39 pa_handle_option (struct gcc_options *opts, | 32 pa_handle_option (struct gcc_options *opts, |
66 default: | 59 default: |
67 return true; | 60 return true; |
68 } | 61 } |
69 } | 62 } |
70 | 63 |
71 #undef TARGET_OPTION_OPTIMIZATION_TABLE | |
72 #define TARGET_OPTION_OPTIMIZATION_TABLE pa_option_optimization_table | |
73 #undef TARGET_DEFAULT_TARGET_FLAGS | 64 #undef TARGET_DEFAULT_TARGET_FLAGS |
74 #define TARGET_DEFAULT_TARGET_FLAGS (TARGET_DEFAULT | TARGET_CPU_DEFAULT) | 65 #define TARGET_DEFAULT_TARGET_FLAGS (TARGET_DEFAULT | TARGET_CPU_DEFAULT) |
75 #undef TARGET_HANDLE_OPTION | 66 #undef TARGET_HANDLE_OPTION |
76 #define TARGET_HANDLE_OPTION pa_handle_option | 67 #define TARGET_HANDLE_OPTION pa_handle_option |
77 | 68 |