Import GCC-8 to a new vendor branch
[dragonfly.git] / contrib / gcc-8.0 / gcc / common / common-targhooks.h
blobd290d7f3e2110aa2c421c57e9285e97def4bf0be
1 /* Default common target hook functions.
2 Copyright (C) 2003-2018 Free Software Foundation, Inc.
4 This file is part of GCC.
6 GCC is free software; you can redistribute it and/or modify it under
7 the terms of the GNU General Public License as published by the Free
8 Software Foundation; either version 3, or (at your option) any later
9 version.
11 GCC is distributed in the hope that it will be useful, but WITHOUT ANY
12 WARRANTY; without even the implied warranty of MERCHANTABILITY or
13 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
14 for more details.
16 You should have received a copy of the GNU General Public License
17 along with GCC; see the file COPYING3. If not see
18 <http://www.gnu.org/licenses/>. */
20 #ifndef GCC_COMMON_TARGHOOKS_H
21 #define GCC_COMMON_TARGHOOKS_H
23 extern enum unwind_info_type default_except_unwind_info (struct gcc_options *);
24 extern enum unwind_info_type dwarf2_except_unwind_info (struct gcc_options *);
25 extern enum unwind_info_type sjlj_except_unwind_info (struct gcc_options *);
27 extern bool default_target_handle_option (struct gcc_options *,
28 struct gcc_options *,
29 const struct cl_decoded_option *,
30 location_t);
32 extern const struct default_options empty_optimization_table[];
34 #endif