From ef7361636dd922c9ae1f5d20b07d1f63e03d18d0 Mon Sep 17 00:00:00 2001 From: Eric Botcazou Date: Sun, 27 Oct 2019 08:27:19 +0000 Subject: [PATCH] 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 --- gcc/ChangeLog | 5 +++++ gcc/cgraph.c | 2 +- gcc/cgraph.h | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 3bfbf1623eb..fe812a4cb43 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2019-10-27 Eric Botcazou + + * cgraph.c (cgraph_node::rtl_info): Fix cut&pasto in comment. + * cgraph.h (cgraph_node::rtl_info): Likewise. + 2019-10-27 Jan Hubicka * ipa-cp.c (propagate_constants_across_call): If args are not available diff --git a/gcc/cgraph.c b/gcc/cgraph.c index 671306db5ca..d47d4128b1c 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 733d616fb8c..a7f357f0b5c 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. -- 2.30.2