aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree.h
diff options
context:
space:
mode:
authorAlexandre Oliva <aoliva@redhat.com>2007-12-15 20:16:03 +0000
committerAlexandre Oliva <aoliva@gcc.gnu.org>2007-12-15 20:16:03 +0000
commitd2f08d98796279fe8886918e7746eb276420545c (patch)
treed3840255d42f8a4fe5fdefc4d692fcc1b2d4771c /gcc/tree.h
parent4b516b14bac816c054c9b190f718cbbaf83e6603 (diff)
downloadgcc-d2f08d98796279fe8886918e7746eb276420545c.zip
gcc-d2f08d98796279fe8886918e7746eb276420545c.tar.gz
gcc-d2f08d98796279fe8886918e7746eb276420545c.tar.bz2
dwarf2out.c (reference_to_unused): Don't emit strings in initializers just because of debug information.
gcc/ChangeLog: * dwarf2out.c (reference_to_unused): Don't emit strings in initializers just because of debug information. * tree.h (TREE_ASM_WRITTEN): Document use for STRING_CSTs. gcc/testsuite/ChangeLog: * gcc.dg/debug/const-3.c: New. From-SVN: r130959
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 c98a921..331bdfa 100644
--- a/gcc/tree.h
+++ b/gcc/tree.h
@@ -546,7 +546,7 @@ struct gimple_stmt GTY(())
TREE_ASM_WRITTEN in
VAR_DECL, FUNCTION_DECL, RECORD_TYPE, UNION_TYPE, QUAL_UNION_TYPE
- BLOCK, SSA_NAME
+ BLOCK, SSA_NAME, STRING_CST
used_flag:
@@ -1300,7 +1300,7 @@ extern void omp_clause_range_check_failed (const_tree, const char *, int,
/* In integral and pointer types, means an unsigned type. */
#define TYPE_UNSIGNED(NODE) (TYPE_CHECK (NODE)->base.unsigned_flag)
-/* Nonzero in a VAR_DECL means assembler code has been written.
+/* Nonzero in a VAR_DECL or STRING_CST means assembler code has been written.
Nonzero in a FUNCTION_DECL means that the function has been compiled.
This is interesting in an inline function, since it might not need
to be compiled separately.