diff --git a/gcc/cp/parser.cc b/gcc/cp/parser.cc
index d71522dcd74ddbc1b9192b16225a936a357ae25a..8ab98cc0c231c5c6128c10dc610079039da815ab 100644
--- a/gcc/cp/parser.cc
+++ b/gcc/cp/parser.cc
@@ -50971,7 +50971,7 @@ cp_parser_pragma (cp_parser *parser, enum pragma_context context, bool *if_p)
     case PRAGMA_UNROLL:
     case PRAGMA_NOVECTOR:
       {
-	bool ivdep;
+	bool ivdep = false;
 	tree unroll = NULL_TREE;
 	bool novector = false;
 	const char *pragma_str;