OSDN Git Service

2010-09-09 Tobias Burnus <burnus@net-b.de>
[pf3gnuchains/gcc-fork.git] / gcc / fortran / iso-fortran-env.def
1 /* Copyright (C) 2006, 2007, 2008, 2009, 2010 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_FILE_ATOMIC_INT_KIND, "atomic_int_kind", \
29               gfc_default_integer_kind, GFC_STD_F2008)
30 NAMED_INTCST (ISOFORTRANENV_FILE_ATOMIC_LOGICAL_KIND, "atomic_logical_kind", \
31               gfc_default_logical_kind, GFC_STD_F2008)
32 NAMED_INTCST (ISOFORTRANENV_CHARACTER_STORAGE_SIZE, "character_storage_size", \
33               gfc_character_storage_size, GFC_STD_F2003)
34 NAMED_INTCST (ISOFORTRANENV_ERROR_UNIT, "error_unit", GFC_STDERR_UNIT_NUMBER, \
35               GFC_STD_F2003)
36 NAMED_INTCST (ISOFORTRANENV_FILE_STORAGE_SIZE, "file_storage_size", 8, \
37               GFC_STD_F2003)
38 NAMED_INTCST (ISOFORTRANENV_INPUT_UNIT, "input_unit", GFC_STDIN_UNIT_NUMBER, \
39               GFC_STD_F2003)
40 NAMED_INTCST (ISOFORTRANENV_INT8, "int8", \
41               gfc_get_int_kind_from_width_isofortranenv (8), GFC_STD_F2008)
42 NAMED_INTCST (ISOFORTRANENV_INT16, "int16", \
43               gfc_get_int_kind_from_width_isofortranenv (16), GFC_STD_F2008)
44 NAMED_INTCST (ISOFORTRANENV_INT32, "int32", \
45               gfc_get_int_kind_from_width_isofortranenv (32), GFC_STD_F2008)
46 NAMED_INTCST (ISOFORTRANENV_INT64, "int64", \
47               gfc_get_int_kind_from_width_isofortranenv (64), GFC_STD_F2008)
48 NAMED_INTCST (ISOFORTRANENV_IOSTAT_END, "iostat_end", LIBERROR_END, \
49               GFC_STD_F2003)
50 NAMED_INTCST (ISOFORTRANENV_IOSTAT_EOR, "iostat_eor", LIBERROR_EOR, \
51               GFC_STD_F2003)
52 NAMED_INTCST (ISOFORTRANENV_IOSTAT_INQUIRE_INTERNAL_UNIT, \
53               "iostat_inquire_internal_unit", GFC_INQUIRE_INTERNAL_UNIT, \
54               GFC_STD_F2008)
55 NAMED_INTCST (ISOFORTRANENV_NUMERIC_STORAGE_SIZE, "numeric_storage_size", \
56               gfc_numeric_storage_size, GFC_STD_F2003)
57 NAMED_INTCST (ISOFORTRANENV_OUTPUT_UNIT, "output_unit", GFC_STDOUT_UNIT_NUMBER, \
58               GFC_STD_F2003)
59 NAMED_INTCST (ISOFORTRANENV_REAL32, "real32", \
60               gfc_get_real_kind_from_width_isofortranenv (32), GFC_STD_F2008)
61 NAMED_INTCST (ISOFORTRANENV_REAL64, "real64", \
62               gfc_get_real_kind_from_width_isofortranenv (64), GFC_STD_F2008)
63 NAMED_INTCST (ISOFORTRANENV_REAL128, "real128", \
64               gfc_get_real_kind_from_width_isofortranenv (128), GFC_STD_F2008)
65 NAMED_INTCST (ISOFORTRANENV_FILE_STAT_LOCKED, "stat_locked", \
66               GFC_STAT_LOCKED, GFC_STD_F2008)
67 NAMED_INTCST (ISOFORTRANENV_FILE_STAT_LOCKED_OTHER_IMAGE, \
68               "stat_locked_other_image", \
69               GFC_STAT_LOCKED_OTHER_IMAGE, GFC_STD_F2008)
70 NAMED_INTCST (ISOFORTRANENV_FILE_STAT_STOPPED_IMAGE, "stat_stopped_image", \
71               GFC_STAT_STOPPED_IMAGE, GFC_STD_F2008)
72 NAMED_INTCST (ISOFORTRANENV_FILE_STAT_UNLOCKED, "stat_unlocked", \
73               GFC_STAT_UNLOCKED, GFC_STD_F2008)
74