This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: [ast-optimizer-branch] simplifying C++
- From: Jason Merrill <jason at redhat dot com>
- To: "Joseph S. Myers" <jsm28 at cam dot ac dot uk>
- Cc: Diego Novillo <dnovillo at redhat dot com>,Daniel Berlin <dberlin at dberlin dot org>,"gcc at gcc dot gnu dot org" <gcc at gcc dot gnu dot org>
- Date: Mon, 17 Jun 2002 20:02:46 +0100
- Subject: Re: [ast-optimizer-branch] simplifying C++
- References: <Pine.LNX.4.33.0206171728540.17444-100000@kern.srcf.societies.cam.ac.uk>
>>>>> "Joseph" == Joseph S Myers <jsm28@cam.ac.uk> writes:
> C99 doesn't allow decls in the condition (so just does need to enclose the
> loop in a scope - it's because these extra scopes are only applied in C99
> mode that this feature isn't accepted as an extension in gnu89 mode).
Why would that matter? If decls aren't allowed there in gnu89 mode, what
difference does the extra scope make?
Jason