> ../../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.