1 $DragonFly: src/gnu/usr.bin/cc34/cc_prep/patches/tree.h.patch,v 1.3 2004/12/21 13:10:48 joerg Exp $
3 ===================================================================
4 RCS file: /home/joerg/wd/repository/dragonflybsd/src/contrib/gcc-3.4/gcc/tree.h,v
5 retrieving revision 1.2
7 --- tree.h 20 Dec 2004 19:23:24 -0000 1.2
8 +++ tree.h 20 Dec 2004 20:49:39 -0000
10 where it is called. */
11 #define DECL_INLINE(NODE) (FUNCTION_DECL_CHECK (NODE)->decl.inline_flag)
13 +/* In a VAR_DECL, nonzero if the declaration is copied for inlining.
14 + The stack protector should keep its location in the stack. */
15 +#define DECL_COPIED(NODE) (VAR_DECL_CHECK (NODE)->decl.inline_flag)
17 /* Nonzero in a FUNCTION_DECL means that this function was declared inline,
18 such as via the `inline' keyword in C/C++. This flag controls the linkage
19 semantics of 'inline'; whether or not the function is inlined is
20 @@ -1499,6 +1503,10 @@
21 /* Value of the decls's visibility attribute */
22 #define DECL_VISIBILITY(NODE) (DECL_CHECK (NODE)->decl.visibility)
24 +/* Nonzero means that the decl had its visibility specified rather than
26 +#define DECL_VISIBILITYSPECIFIED(NODE) (DECL_CHECK (NODE)->decl.visibility_specified)
28 /* In a FUNCTION_DECL, nonzero if the function cannot be inlined. */
29 #define DECL_UNINLINABLE(NODE) (FUNCTION_DECL_CHECK (NODE)->decl.uninlinable)
32 || TREE_CODE (DECL_CONTEXT (EXP)) == TRANSLATION_UNIT_DECL)
34 /* Enumerate visibility settings. */
36 +#ifndef SYMBOL_VISIBILITY_DEFINED
37 +#define SYMBOL_VISIBILITY_DEFINED
38 enum symbol_visibility
50 unsigned thread_local_flag : 1;
51 unsigned declared_inline_flag : 1;
52 ENUM_BITFIELD(symbol_visibility) visibility : 2;
53 - unsigned unused : 1;
54 - /* one unused bit. */
55 + unsigned visibility_specified : 1;
57 unsigned lang_flag_0 : 1;
58 unsigned lang_flag_1 : 1;