This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH][RFC] Automatized pattern matching
On Fri, 6 Jun 2003, Zack Weinberg wrote:
> (A twisted alternate idea: "auto TYPE foo;" at file scope is
> currently a hard error, and I think a constraint violation; we could
> make it mean 'implicitly declare this variable at function scope in
> any function that uses it' as an extension.)
If you want to use extensions, then statement expressions exist and should
suffice. But doesn't the code generated need to compile at all stages of
bootstrap (so with any ISO C compiler)?
--
Joseph S. Myers
jsm28@cam.ac.uk