OSDN Git Service

contrib/
[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_IOSTAT_END, "iostat_end", LIBERROR_END, \
37               GFC_STD_F2003)
38 NAMED_INTCST (ISOFORTRANENV_IOSTAT_EOR, "iostat_eor", LIBERROR_EOR, \
39               GFC_STD_F2003)
40 NAMED_INTCST (ISOFORTRANENV_NUMERIC_STORAGE_SIZE, "numeric_storage_size", \
41               gfc_numeric_storage_size, GFC_STD_F2003)
42 NAMED_INTCST (ISOFORTRANENV_OUTPUT_UNIT, "output_unit", GFC_STDOUT_UNIT_NUMBER, \
43               GFC_STD_F2003)