aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorEric Botcazou <ebotcazou@adacore.com>2019-10-27 08:27:19 +0000
committerAlexandre Oliva <aoliva@gcc.gnu.org>2019-10-27 08:27:19 +0000
commitef7361636dd922c9ae1f5d20b07d1f63e03d18d0 (patch)
tree693ecbdcbc0be94628d0321025cc2a0e08fad2a3 /gcc
parenta33c028eb38268b5084ebc4cc17a1cb64b3a838b (diff)
downloadgcc-ef7361636dd922c9ae1f5d20b07d1f63e03d18d0.zip
gcc-ef7361636dd922c9ae1f5d20b07d1f63e03d18d0.tar.gz
gcc-ef7361636dd922c9ae1f5d20b07d1f63e03d18d0.tar.bz2
fix cgraph comment
This comment cut&pasto fix was split out of another patch I'm about to contribute, as the current version of the patch no longer touches cgraph data structures. for gcc/ChangeLog * cgraph.c (cgraph_node::rtl_info): Fix cut&pasto in comment. * cgraph.h (cgraph_node::rtl_info): Likewise. From-SVN: r277485
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/cgraph.c2
-rw-r--r--gcc/cgraph.h2
3 files changed, 7 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 3bfbf16..fe812a4 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2019-10-27 Eric Botcazou <ebotcazou@adacore.com>
+
+ * cgraph.c (cgraph_node::rtl_info): Fix cut&pasto in comment.
+ * cgraph.h (cgraph_node::rtl_info): Likewise.
+
2019-10-27 Jan Hubicka <hubicka@ucw.cz>
* ipa-cp.c (propagate_constants_across_call): If args are not available
diff --git a/gcc/cgraph.c b/gcc/cgraph.c
index 671306d..d47d412 100644
--- a/gcc/cgraph.c
+++ b/gcc/cgraph.c
@@ -1846,7 +1846,7 @@ cgraph_node::local_info (tree decl)
return &node->ultimate_alias_target ()->local;
}
-/* Return local info for the compiled function. */
+/* Return RTL info for the compiled function. */
cgraph_rtl_info *
cgraph_node::rtl_info (const_tree decl)
diff --git a/gcc/cgraph.h b/gcc/cgraph.h
index 733d616..a7f357f 100644
--- a/gcc/cgraph.h
+++ b/gcc/cgraph.h
@@ -1381,7 +1381,7 @@ struct GTY((tag ("SYMTAB_FUNCTION"))) cgraph_node : public symtab_node
/* Return local info for the compiled function. */
static cgraph_local_info *local_info (tree decl);
- /* Return local info for the compiled function. */
+ /* Return RTL info for the compiled function. */
static struct cgraph_rtl_info *rtl_info (const_tree);
/* Return the cgraph node that has ASMNAME for its DECL_ASSEMBLER_NAME.