https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106101

--- Comment #31 from Florian Weimer <fw at gcc dot gnu.org> ---
(In reply to Andrew Pinski from comment #30)
> And you can even make it a pointer to a pointer of char to hit the same bug
> to get around the even more fuzziness of freeing an int rather than a
> pointer:
> ```
> int yyparse (char **yyvsp)
> ```
> See https://godbolt.org/z/v7xKxWE3K

-int yyparse (void)
+int yyparse (char **yyvsp)
 {
     int yystate = 0;
-    int *yyvsp = 0;


Nice, thank you.

Reply via email to