[Bug bootstrap/14356] New: gcc.c:3661: error: assignment of read-only location

c dot christian dot joensson at comhem dot se gcc-bugzilla@gcc.gnu.org
Mon Mar 1 08:28:00 GMT 2004


When trying to bootstrap gcc 3.4.0 20040301, I get an error like this:

/usr/local/src/branch/gcc/gcc/gcc.c:3661: error: assignment of read-only 
location
/usr/local/src/branch/gcc/gcc/gcc.c:3663: error: assignment of read-only 
location

See http://gcc.gnu.org/ml/gcc/2004-03/msg00041.html .

Andrew Pinski commented in http://gcc.gnu.org/ml/gcc/2004-03/msg00043.html

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.

Please file a bug with this analysis.

Done.

-- 
           Summary: gcc.c:3661: error: assignment of read-only location
           Product: gcc
           Version: 3.4.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: bootstrap
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: c dot christian dot joensson at comhem dot se
                CC: gcc-bugs at gcc dot gnu dot org,pinskia at physics dot
                    uc dot edu
 GCC build triplet: i686-pc-cygwin
  GCC host triplet: i686-pc-cygwin
GCC target triplet: i686-pc-cygwin


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14356



More information about the Gcc-bugs mailing list