* ipa-devirt.c: Include gimple-pretty-print.h
[official-gcc.git] / libgfortran / kinds-override.h
blob2823e74b62536ecd0d4562452868f7743dfbf6aa
1 /* Header used to override things detected by the mk-kinds-h.sh script.
2 Copyright (C) 2010-2014 Free Software Foundation, Inc.
4 This file is part of the GNU Fortran runtime library (libgfortran).
6 Libgfortran is free software; you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by
8 the Free Software Foundation; either version 3, or (at your option)
9 any later version.
11 Libgfortran is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 GNU General Public License for more details.
16 Under Section 7 of GPL version 3, you are granted additional
17 permissions described in the GCC Runtime Library Exception, version
18 3.1, as published by the Free Software Foundation.
20 You should have received a copy of the GNU General Public License and
21 a copy of the GCC Runtime Library Exception along with this program;
22 see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
23 <http://www.gnu.org/licenses/>. */
26 /* What are the C types corresponding to the real(kind=10) and
27 real(kind=16) types? We currently rely on the following assumptions:
28 -- if real(kind=10) exists, i.e. if HAVE_GFC_REAL_10 is defined,
29 then it is necessarily the "long double" type
30 -- if real(kind=16) exists, then:
31 * if HAVE_GFC_REAL_10, real(kind=16) is "__float128"
32 * otherwise, real(kind=16) is "long double"
33 To allow to change this in the future, we create the
34 GFC_REAL_16_IS_FLOAT128 macro that is used throughout libgfortran. */
36 #if defined(HAVE_GFC_REAL_16)
37 # if defined(HAVE_GFC_REAL_10)
38 # define GFC_REAL_16_IS_FLOAT128
39 # if !defined(HAVE_FLOAT128)
40 # error "Where has __float128 gone?"
41 # endif
42 # else
43 # define GFC_REAL_16_IS_LONG_DOUBLE
44 # endif
45 #endif