Set default to -fomit-frame-pointer
[official-gcc.git] / gcc / common / config / frv / frv-common.c
blob77062bbf2f4b6d3463181303fc2643c804add98c
1 /* Copyright (C) 1997-2017 Free Software Foundation, Inc.
3 This file is part of GCC.
5 GCC is free software; you can redistribute it and/or modify
6 it under the terms of the GNU General Public License as published by
7 the Free Software Foundation; either version 3, or (at your option)
8 any later version.
10 GCC is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 GNU General Public License for more details.
15 You should have received a copy of the GNU General Public License
16 along with GCC; see the file COPYING3. If not see
17 <http://www.gnu.org/licenses/>. */
19 #include "config.h"
20 #include "system.h"
21 #include "coretypes.h"
22 #include "tm.h"
23 #include "common/common-target.h"
24 #include "common/common-target-def.h"
25 #include "opts.h"
26 #include "flags.h"
28 /* Allow us to easily change the default for -malloc-cc. */
29 #ifndef DEFAULT_NO_ALLOC_CC
30 #define MASK_DEFAULT_ALLOC_CC MASK_ALLOC_CC
31 #else
32 #define MASK_DEFAULT_ALLOC_CC 0
33 #endif
35 #undef TARGET_DEFAULT_TARGET_FLAGS
36 #define TARGET_DEFAULT_TARGET_FLAGS \
37 (MASK_DEFAULT_ALLOC_CC \
38 | MASK_COND_MOVE \
39 | MASK_SCC \
40 | MASK_COND_EXEC \
41 | MASK_VLIW_BRANCH \
42 | MASK_MULTI_CE \
43 | MASK_NESTED_CE)
45 struct gcc_targetm_common targetm_common = TARGETM_COMMON_INITIALIZER;