tinycc-devel
[Top][All Lists]
Advanced

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

Re: [Tinycc-devel] segfault with static array initialized by a macro


From: Thomas Preud'homme
Subject: Re: [Tinycc-devel] segfault with static array initialized by a macro
Date: Sun, 21 Oct 2012 13:51:16 +0200
User-agent: KMail/1.13.7 (Linux/3.2.0-4-amd64; KDE/4.8.4; x86_64; ; )

Le dimanche 21 octobre 2012 13:48:18, Thomas Preud'homme a écrit :
> 
> The second mistake is that nocode_wanted should be 1 if processing some
> static variable since it will be outside any function. This is probably
> the easiest fix but really both problems should be fixed IMHO.

Since VLA is probably the only case where gexpr is called and hence code might 
be generated, it might be just easier to check this in post_type. Probably a 
one-liner or two-liner fix this way.

Thomas

Attachment: signature.asc
Description: This is a digitally signed message part.


reply via email to

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