This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH INSTALLED]: const typedefs part 1/N


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]