aboutsummaryrefslogtreecommitdiff
path: root/gcc/dwarf2out.c
diff options
context:
space:
mode:
authorAldy Hernandez <aldyh@redhat.com>2014-09-19 16:02:21 +0000
committerAldy Hernandez <aldyh@gcc.gnu.org>2014-09-19 16:02:21 +0000
commitd39d05a75beac00d4c5261ca02a10024fc0aded4 (patch)
treef460284ecc79360027a23d1e1245c98a4b8ed6a0 /gcc/dwarf2out.c
parentfdea58659cad76b9c271ed89d95a80dc6f50643e (diff)
downloadgcc-d39d05a75beac00d4c5261ca02a10024fc0aded4.zip
gcc-d39d05a75beac00d4c5261ca02a10024fc0aded4.tar.gz
gcc-d39d05a75beac00d4c5261ca02a10024fc0aded4.tar.bz2
dwarf2out.c (decl_ultimate_origin): Update comment.
* dwarf2out.c (decl_ultimate_origin): Update comment. * tree.c (block_ultimate_origin): Same. From-SVN: r215396
Diffstat (limited to 'gcc/dwarf2out.c')
-rw-r--r--gcc/dwarf2out.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/gcc/dwarf2out.c b/gcc/dwarf2out.c
index 9dd2f88..e87ade2 100644
--- a/gcc/dwarf2out.c
+++ b/gcc/dwarf2out.c
@@ -3676,8 +3676,7 @@ decl_ultimate_origin (const_tree decl)
if (!CODE_CONTAINS_STRUCT (TREE_CODE (decl), TS_DECL_COMMON))
return NULL_TREE;
- /* output_inline_function sets DECL_ABSTRACT_ORIGIN for all the
- nodes in the function to point to themselves; ignore that if
+ /* DECL_ABSTRACT_ORIGIN can point to itself; ignore that if
we're trying to output the abstract instance of this function. */
if (DECL_ABSTRACT (decl) && DECL_ABSTRACT_ORIGIN (decl) == decl)
return NULL_TREE;