bison-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: FYI: master: c++: fix GCC8 warnings about uninitialized values


From: Paul Eggert
Subject: Re: FYI: master: c++: fix GCC8 warnings about uninitialized values
Date: Sun, 19 Aug 2018 02:05:16 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1

Akim Demaille wrote:

--- yylval-is-set.y     2018-08-19 09:32:34.985921138 +0200
+++ yylval-is-not-set.y 2018-08-19 09:33:04.246656396 +0200
@@ -4,7 +4,7 @@
    static int yylex (YYSTYPE *lvalp)
    {
      static char const *input = "aa";
-    *lvalp = 1;
+    //*lvalp = 1;
      return *input++;
    }
$ ~/src/gnu/bison/_build/8s/tests/bison yylval-is-set.y -o yylval-is-set.c

$ ~/src/gnu/bison/_build/8s/tests/bison yylval-is-not-set.y -o 
yylval-is-not-set.c

Could you please send me these .c files as attachments? That way, I won't have to reproduce the exact version of bison you're using. Thanks.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]