]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
* dwarf2out.c (decl_ultimate_origin): Update comment.
authoraldyh <aldyh@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 19 Sep 2014 16:02:21 +0000 (16:02 +0000)
committeraldyh <aldyh@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 19 Sep 2014 16:02:21 +0000 (16:02 +0000)
* tree.c (block_ultimate_origin): Same.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@215396 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/dwarf2out.c
gcc/tree.c

index 614c14fe22cc9b0e95a04eacabe9920f0ad6d16e..7ec7836f10ccec711744d68f413d76d0f606371c 100644 (file)
@@ -1,3 +1,8 @@
+2014-09-19  Aldy Hernandez  <aldyh@redhat.com>
+
+       * dwarf2out.c (decl_ultimate_origin): Update comment.
+       * tree.c (block_ultimate_origin): Same.
+
 2014-09-19  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
 
        * config/rs6000/rs6000.c (rs6000_special_adjust_field_align_p):
index 9dd2f880d07b8f1fddc528997da9b1b58fd6c9ee..e87ade255eee33798a031e53a664dffa179a47c1 100644 (file)
@@ -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;
index 87a222fde30d75b78f62ca85b27c31b2a723c35a..440e2639d32ce6f7ee46f74467e9136c38812c4d 100644 (file)
@@ -11579,8 +11579,7 @@ block_ultimate_origin (const_tree block)
 {
   tree immediate_origin = BLOCK_ABSTRACT_ORIGIN (block);
 
-  /* output_inline_function sets BLOCK_ABSTRACT_ORIGIN for all the
-     nodes in the function to point to themselves; ignore that if
+  /* BLOCK_ABSTRACT_ORIGIN can point to itself; ignore that if
      we're trying to output the abstract instance of this function.  */
   if (BLOCK_ABSTRACT (block) && immediate_origin == block)
     return NULL_TREE;