diff mbox

Fix comment documenting make_vector_stat

Message ID 1434213018-7398-1-git-send-email-patrick@parcs.ath.cx
State New
Headers show

Commit Message

Patrick Palka June 13, 2015, 4:30 p.m. UTC
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 mbox

Patch

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)