Mercurial > hg > CbC > CbC_gcc
comparison gcc/c-family/c-common.def @ 68:561a7518be6b
update gcc-4.6
author | Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Sun, 21 Aug 2011 07:07:55 +0900 |
parents | |
children | 04ced10e8804 |
comparison
equal
deleted
inserted
replaced
67:f6334be47118 | 68:561a7518be6b |
---|---|
1 /* This file contains the definitions and documentation for the | |
2 additional tree codes used in the GNU C compiler (see tree.def | |
3 for the standard codes). | |
4 Copyright (C) 1987, 1988, 1990, 1993, 1997, 1998, | |
5 1999, 2000, 2001, 2004, 2005, 2007, 2009, 2010 | |
6 Free Software Foundation, Inc. | |
7 Written by Benjamin Chelf <chelf@codesourcery.com> | |
8 | |
9 This file is part of GCC. | |
10 | |
11 GCC is free software; you can redistribute it and/or modify it under | |
12 the terms of the GNU General Public License as published by the Free | |
13 Software Foundation; either version 3, or (at your option) any later | |
14 version. | |
15 | |
16 GCC is distributed in the hope that it will be useful, but WITHOUT ANY | |
17 WARRANTY; without even the implied warranty of MERCHANTABILITY or | |
18 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License | |
19 for more details. | |
20 | |
21 You should have received a copy of the GNU General Public License | |
22 along with GCC; see the file COPYING3. If not see | |
23 <http://www.gnu.org/licenses/>. */ | |
24 | |
25 /* Tree nodes used in the C frontend. These are also shared with the | |
26 C++ and Objective C frontends. */ | |
27 | |
28 /* A C_MAYBE_CONST_EXPR, currently only used for C and Objective C, | |
29 tracks information about constancy of an expression and VLA type | |
30 sizes or VM expressions from typeof that need to be evaluated | |
31 before the main expression. It is used during parsing and removed | |
32 in c_fully_fold. C_MAYBE_CONST_EXPR_PRE is the expression to | |
33 evaluate first, if not NULL; C_MAYBE_CONST_EXPR_EXPR is the main | |
34 expression. If C_MAYBE_CONST_EXPR_INT_OPERANDS is set then the | |
35 expression may be used in an unevaluated part of an integer | |
36 constant expression, but not in an evaluated part. If | |
37 C_MAYBE_CONST_EXPR_NON_CONST is set then the expression contains | |
38 something that cannot occur in an evaluated part of a constant | |
39 expression (or outside of sizeof in C90 mode); otherwise it does | |
40 not. */ | |
41 DEFTREECODE (C_MAYBE_CONST_EXPR, "c_maybe_const_expr", tcc_expression, 2) | |
42 | |
43 /* An EXCESS_PRECISION_EXPR, currently only used for C and Objective | |
44 C, represents an expression evaluated in greater range or precision | |
45 than its type. The type of the EXCESS_PRECISION_EXPR is the | |
46 semantic type while the operand represents what is actually being | |
47 evaluated. */ | |
48 DEFTREECODE (EXCESS_PRECISION_EXPR, "excess_precision_expr", tcc_expression, 1) | |
49 | |
50 /* | |
51 Local variables: | |
52 mode:c | |
53 End: | |
54 */ |