Implement #pragma GCC warning/error
[official-gcc.git] / gcc / config / default-c.c
blob7ca3d87edf336a396ce09191834fef79196391ab
1 /* Default C-family target hooks initializer.
2 Copyright (C) 2011
3 Free Software Foundation, Inc.
5 This file is part of GCC.
7 GCC is free software; you can redistribute it and/or modify it under
8 the terms of the GNU General Public License as published by the Free
9 Software Foundation; either version 3, or (at your option) any later
10 version.
12 GCC is distributed in the hope that it will be useful, but WITHOUT ANY
13 WARRANTY; without even the implied warranty of MERCHANTABILITY or
14 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
15 for more details.
17 You should have received a copy of the GNU General Public License
18 along with GCC; see the file COPYING3. If not see
19 <http://www.gnu.org/licenses/>. */
21 #include "config.h"
22 #include "system.h"
23 #include "coretypes.h"
24 #include "c-family/c-target.h"
25 #include "c-family/c-target-def.h"
27 /* Do not include tm.h or tm_p.h here; if it is useful for a target to
28 define some macros for the initializer in a header without defining
29 targetcm itself (for example, because of interactions with some
30 hooks depending on the target OS and others on the target
31 architecture), create a separate tm_c.h for only the relevant
32 definitions. */
34 struct gcc_targetcm targetcm = TARGETCM_INITIALIZER;