1 /* Copyright (C
) 2006, 2007 Free Software Foundation
, Inc.
3 This file is part of GCC.
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
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
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
/>.
*/
19 /* This file contains the definition of the named integer constants provided
20 by the Fortran
2003 ISO_FORTRAN_ENV intrinsic module.
*/
22 /* The arguments to NAMED_INTCST are
:
24 -- the symbol name in the module
, as seen by Fortran code
25 -- the value it has
*/
27 NAMED_INTCST (ISOFORTRANENV_CHARACTER_STORAGE_SIZE
, "character_storage_size", \
28 gfc_character_storage_size
)
29 NAMED_INTCST (ISOFORTRANENV_ERROR_UNIT
, "error_unit", GFC_STDERR_UNIT_NUMBER
)
30 NAMED_INTCST (ISOFORTRANENV_FILE_STORAGE_SIZE
, "file_storage_size", 8)
31 NAMED_INTCST (ISOFORTRANENV_INPUT_UNIT
, "input_unit", GFC_STDIN_UNIT_NUMBER
)
32 NAMED_INTCST (ISOFORTRANENV_IOSTAT_END
, "iostat_end", LIBERROR_END
)
33 NAMED_INTCST (ISOFORTRANENV_IOSTAT_EOR
, "iostat_eor", LIBERROR_EOR
)
34 NAMED_INTCST (ISOFORTRANENV_NUMERIC_STORAGE_SIZE
, "numeric_storage_size", \
35 gfc_numeric_storage_size
)
36 NAMED_INTCST (ISOFORTRANENV_OUTPUT_UNIT
, "output_unit", GFC_STDOUT_UNIT_NUMBER
)