Re: Testsuite summary for GNU Bison 3.8.2 : FAIL 2

Paul Eggert <[email protected]> Wed, 13 Oct 2021 09:59:45 -0700
Newsgroups gmane.comp.parsers.bison.bugs
Organization UCLA Computer Science Department
Message-ID <[email protected]>
On 10/12/21 10:31 PM, Akim Demaille wrote:
> Well, maybe the problem is actually very simple: the sym_table pointer is not initialized to NULL by the compiler.  And as a matter of fact, it is probably right, I don't believe the C standard requires it to do it.  It is mandatory for static variables, but that's not the case here.

No, the variable has static storage duration, so it must be initialized 
to null (and this assumption is quite portable). In C, a top-level 
variable has static storage duration even if its not declared with the 
'static' keyword (so long as it's not declared _Thread_local in recent C).