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

Bauke van Dijk bauke.vandijk@planet.nl
Thu Mar 25 19:35:00 GMT 2004


Kelley Cook wrote:

>  > ../../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
> 
> 
> ------------------------------------------------------------------------
> 
> 2004-03-24  Kelley Cook  <kcook@gcc.gnu.org>
> 
> 	Backport:
> 	2004-03-01  Mark Mitchell  <mark@codesourcery.com>
> 
> 	PR bootstrap/14356
> 	* gcc.c (process_command): Remove const-qualification from argv.
> 	(main): Likewise.
> 

Bootstrap passed, testsuite running.
Look good on my side.

Thanks

Bauke




More information about the Gcc mailing list