public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [PATCH] Fix comment documenting make_vector_stat
@ 2015-06-13 18:05 Patrick Palka
  0 siblings, 0 replies; only message in thread
From: Patrick Palka @ 2015-06-13 18:05 UTC (permalink / raw)
  To: gcc-patches; +Cc: Patrick Palka

It actually returns a VECTOR_CST not a TREE_VEC.

Committed as obvious.

gcc/ChangeLog:

	* tree.c (make_vector_stat): Fix comment to state that the
	function returns a VECTOR_CST.
---
 gcc/tree.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gcc/tree.c b/gcc/tree.c
index be01d0e..6c194a6 100644
--- a/gcc/tree.c
+++ b/gcc/tree.c
@@ -1652,7 +1652,7 @@ cst_and_fits_in_hwi (const_tree x)
   return TREE_INT_CST_NUNITS (x) == 1;
 }
 
-/* Build a newly constructed TREE_VEC node of length LEN.  */
+/* Build a newly constructed VECTOR_CST node of length LEN.  */
 
 tree
 make_vector_stat (unsigned len MEM_STAT_DECL)
-- 
2.4.3.413.ga5fe668

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2015-06-13 16:30 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-06-13 18:05 [PATCH] Fix comment documenting make_vector_stat Patrick Palka

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).