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
On 8/2/07, Kaveh R. GHAZI <ghazi@caip.rutgers.edu> wrote:
> GCC 3.0 - 3.3 warns for both assignments to t3. IMHO, it's a bug for gcc
> for warn like this, and it was properly fixed in 3.4.0.
Why is it wrong for GCC to warn here?
We have typeof(tree const) const which has the duplicated const there.
I feel that there should be a warning in that case still.
Thanks,
Andrew Pinski