From: Gerald Pfeifer Date: Sat, 18 Jan 2020 12:49:05 +0000 (+0100) Subject: Reword a comment in varpool_node::ctor_useable_for_folding_p. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5a715667bbb9b9e8a831c6ff2094ed8d2765d7db;p=gcc.git Reword a comment in varpool_node::ctor_useable_for_folding_p. * varpool.c (ctor_useable_for_folding_p): Fix grammar. --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 064bb38a674..6f05cdbbba4 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2019-01-18 Gerald Pfeifer + + * varpool.c (ctor_useable_for_folding_p): Fix grammar. + 2020-01-18 Iain Sandoe * Makefile.in: Add coroutine-passes.o. diff --git a/gcc/varpool.c b/gcc/varpool.c index e5d632e0eb5..458cdf1bf37 100644 --- a/gcc/varpool.c +++ b/gcc/varpool.c @@ -352,9 +352,10 @@ varpool_node::ctor_useable_for_folding_p (void) return DECL_INITIAL (real_node->decl) != NULL; } - /* Alias of readonly variable is also readonly, since the variable is stored - in readonly memory. We also accept readonly aliases of non-readonly - locations assuming that user knows what he is asking for. */ + /* An alias of a read-only variable is also read-only, since the variable + is stored in read-only memory. We also accept read-only aliases of + non-read-only locations assuming that the user knows what he is asking + for. */ if (!TREE_READONLY (decl) && !TREE_READONLY (real_node->decl)) return false;