Can't build gcc 3.4.0 20040301 on cygwin: gcc.c:3661: error: assignment of read-only location

Christopher Faylor cgf@redhat.com
Mon Mar 1 15:51:00 GMT 2004


On Mon, Mar 01, 2004 at 12:12:25AM -0800, Andrew Pinski wrote:
>This is a bug in gcc.c.
>
>Basically argv is declared as const but is changeable if
>HAVE_TARGET_EXECUTABLE_SUFFIX or HAVE_TARGET_OBJECT_SUFFIX are defined.

Weird.  gcc.c has been like this for a while.  It's hard to see how this
ever worked.

cgf



More information about the Gcc mailing list