This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH INSTALLED]: const typedefs part 1/N
- From: "Andrew Pinski" <pinskia at gmail dot com>
- To: "Kaveh R. GHAZI" <ghazi at caip dot rutgers dot edu>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Wed, 1 Aug 2007 17:14:49 -0700
- Subject: Re: [PATCH INSTALLED]: const typedefs part 1/N
- References: <Pine.GSO.4.58.0707251400310.25472@caipclassic.rutgers.edu>
On 7/25/07, Kaveh R. GHAZI <ghazi@caip.rutgers.edu> wrote:
> The patch below (and several upcoming ones) implement the core of the
> const typedefs project I proposed last year:
> http://gcc.gnu.org/ml/gcc-patches/2006-08/msg00383.html
These sets of patches have caused a lot of warnings to show up while
compiling with GCC 3.3.3:
../../gcc/tree.h:4986: warning: duplicate `const'
etc.
Two reduced testcases come down to:
const int a;
__typeof(a) const c;
and:
typedef const int a;
a const c;
I was wondering if the trunk should be warning or not. And maybe how
to get rid of the warnings for 3.3 building. I am using 3.3.3 to
bootstrap GCC with so it slows down compiling the first stage by a
huge amount.
Thanks,
Andrew Pinski