[PR bootstrap/14356] Error building 3.3.4 on i686-cygwin.

Kelley Cook kcook34@ford.com
Thu Mar 25 01:07:00 GMT 2004


 > ../../gcc/gcc/gcc.c: In function `process_command':
 > ../../gcc/gcc/gcc.c:3609: error: assignment of read-only location
 > ../../gcc/gcc/gcc.c:3611: error: assignment of read-only location
 > make[2]: *** [gcc.o] Error 1

I hadn't tried CVS GCC 3.3 in a while, but I suspect that Mark 
Mitchell's patch to better diagnose constness was backported to GCC 3.3, 
which exposed a latent bug in gcc.c when it was ported to mainline and 3.4.

This became PR 14356

Anyway that was solved by: 
http://gcc.gnu.org/ml/gcc-patches/2004-03/msg00120.html which I would 
think should also now be backported to the GCC 3.3 branch.

Gaby,

Would this be OK if it passes an overnight bootstrap on i686-pc-cygwin?
It is different from Mark's patch as it had to be readjusted for K&R-ness.

Kelley Cook
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: gcc_const.patch
URL: <https://gcc.gnu.org/pipermail/gcc/attachments/20040325/f42d1ac5/attachment.ksh>


More information about the Gcc mailing list