]> git.saurik.com Git - bison.git/blobdiff - NEWS
tests: no longer disable -O compiler options
[bison.git] / NEWS
diff --git a/NEWS b/NEWS
index 81afe649c4691761f9958c65f9e09e2883d47dcd..2d4143ade11e15e25b1a117b805c54047576d7f2 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -48,6 +48,19 @@ GNU Bison NEWS
   This feature is somewhat experimental.  User feedback would be
   appreciated.
 
+** Fix compiler warnings in the generated parser (yacc.c)
+
+  The compilation of pure parsers (%define api.pure) can trigger GCC
+  warnings such as:
+
+    input.c: In function 'yyparse':
+    input.c:1503:12: warning: 'yylval' may be used uninitialized in this
+                              function [-Wmaybe-uninitialized]
+       *++yyvsp = yylval;
+                ^
+
+  This is now fixed; pragmas to avoid these warnings are no longer needed.
+
 * Noteworthy changes in release 2.6.2 (2012-08-03) [stable]
 
 ** Bug fixes