aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree.h
diff options
context:
space:
mode:
authorJason Merrill <jason@redhat.com>2009-02-18 16:01:03 -0500
committerJason Merrill <jason@gcc.gnu.org>2009-02-18 16:01:03 -0500
commit98b806924df9a7bb913cc5cc2d2e7fdc7e2a5de0 (patch)
tree0f64524f372d342649161f19523537146008f861 /gcc/tree.h
parent1e80963d6176df27cd61f268ec14392cda8a309a (diff)
downloadgcc-98b806924df9a7bb913cc5cc2d2e7fdc7e2a5de0.zip
gcc-98b806924df9a7bb913cc5cc2d2e7fdc7e2a5de0.tar.gz
gcc-98b806924df9a7bb913cc5cc2d2e7fdc7e2a5de0.tar.bz2
re PR target/39179 (Wrong code in c++ for const members initialized in external file)
PR target/39179 * tree-ssa-ccp.c (get_symbol_constant_value): Don't assume zero value if DECL_EXTERNAL. * tree-sra.c (sra_walk_gimple_assign): Likewise. * target.h (gcc_target::binds_local_p): Clarify module. * tree.h (TREE_PUBLIC): Clarify module. From-SVN: r144270
Diffstat (limited to 'gcc/tree.h')
-rw-r--r--gcc/tree.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/tree.h b/gcc/tree.h
index b7300fa..29d3782 100644
--- a/gcc/tree.h
+++ b/gcc/tree.h
@@ -1195,9 +1195,9 @@ extern void omp_clause_range_check_failed (const_tree, const char *, int,
(CONSTANT_CLASS_P (EXPR) && TREE_OVERFLOW (EXPR))
/* In a VAR_DECL, FUNCTION_DECL, NAMESPACE_DECL or TYPE_DECL,
- nonzero means name is to be accessible from outside this module.
+ nonzero means name is to be accessible from outside this translation unit.
In an IDENTIFIER_NODE, nonzero means an external declaration
- accessible from outside this module was previously seen
+ accessible from outside this translation unit was previously seen
for this name in an inner scope. */
#define TREE_PUBLIC(NODE) ((NODE)->base.public_flag)