OSDN Git Service

PR middle-end/40500
[pf3gnuchains/gcc-fork.git] / gcc / fortran / iso-fortran-env.def
1 /* Copyright (C) 2006, 2007, 2008 Free Software Foundation, Inc.
2
3 This file is part of GCC.
4
5 GCC is free software; you can redistribute it and/or modify it under
6 the terms of the GNU General Public License as published by the Free
7 Software Foundation; either version 3, or (at your option) any later
8 version.
9
10 GCC is distributed in the hope that it will be useful, but WITHOUT ANY
11 WARRANTY; without even the implied warranty of MERCHANTABILITY or
12 FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
13 for more details.
14
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/>.  */
18
19 /* This file contains the definition of the named integer constants provided
20    by the Fortran 2003 ISO_FORTRAN_ENV intrinsic module.  */
21
22 /* The arguments to NAMED_INTCST are:
23      -- an internal name
24      -- the symbol name in the module, as seen by Fortran code
25      -- the value it has
26      -- the standard that supports this type  */ 
27
28 NAMED_INTCST (ISOFORTRANENV_CHARACTER_STORAGE_SIZE, "character_storage_size", \
29               gfc_character_storage_size, GFC_STD_F2003)
30 NAMED_INTCST (ISOFORTRANENV_ERROR_UNIT, "error_unit", GFC_STDERR_UNIT_NUMBER, \
31               GFC_STD_F2003)
32 NAMED_INTCST (ISOFORTRANENV_FILE_STORAGE_SIZE, "file_storage_size", 8, \
33               GFC_STD_F2003)
34 NAMED_INTCST (ISOFORTRANENV_INPUT_UNIT, "input_unit", GFC_STDIN_UNIT_NUMBER, \
35               GFC_STD_F2003)
36 NAMED_INTCST (ISOFORTRANENV_INT8, "int8", \
37               gfc_get_int_kind_from_width_isofortranenv (8), GFC_STD_F2008)
38 NAMED_INTCST (ISOFORTRANENV_INT16, "int16", \
39               gfc_get_int_kind_from_width_isofortranenv (16), GFC_STD_F2008)
40 NAMED_INTCST (ISOFORTRANENV_INT32, "int32", \
41               gfc_get_int_kind_from_width_isofortranenv (32), GFC_STD_F2008)
42 NAMED_INTCST (ISOFORTRANENV_INT64, "int64", \
43               gfc_get_int_kind_from_width_isofortranenv (64), GFC_STD_F2008)
44 NAMED_INTCST (ISOFORTRANENV_IOSTAT_END, "iostat_end", LIBERROR_END, \
45               GFC_STD_F2003)
46 NAMED_INTCST (ISOFORTRANENV_IOSTAT_EOR, "iostat_eor", LIBERROR_EOR, \
47               GFC_STD_F2003)
48 NAMED_INTCST (ISOFORTRANENV_NUMERIC_STORAGE_SIZE, "numeric_storage_size", \
49               gfc_numeric_storage_size, GFC_STD_F2003)
50 NAMED_INTCST (ISOFORTRANENV_OUTPUT_UNIT, "output_unit", GFC_STDOUT_UNIT_NUMBER, \
51               GFC_STD_F2003)
52 NAMED_INTCST (ISOFORTRANENV_REAL32, "real32", \
53               gfc_get_real_kind_from_width_isofortranenv (32), GFC_STD_F2008)
54 NAMED_INTCST (ISOFORTRANENV_REAL64, "real64", \
55               gfc_get_real_kind_from_width_isofortranenv (64), GFC_STD_F2008)
56 NAMED_INTCST (ISOFORTRANENV_REAL128, "real128", \
57               gfc_get_real_kind_from_width_isofortranenv (128), GFC_STD_F2008)