3.1 bootstrap failure on irix6.5: gcc/cppmacro.c - expression must be a modifiable lvalue

Billinghurst, David (CRTS) David.Billinghurst@riotinto.com
Fri Jun 22 06:23:00 GMT 2001


3.1 bootstrap on irix 6.5 fails with:

cc -c  -DIN_GCC    -g    -DHAVE_CONFIG_H    -I. -I.
-I/exd4/billingd/src/gcc-mai
nline/gcc -I/exd4/billingd/src/gcc-mainline/gcc/.
-I/exd4/billingd/src/gcc-mainl
ine/gcc/config -I/exd4/billingd/src/gcc-mainline/gcc/../include
/exd4/billingd/s
rc/gcc-mainline/gcc/cppmacro.c -o cppmacro.o
"/exd4/billingd/src/gcc-mainline/gcc/cppmacro.c", line 113: error(1133):
          expression must be a modifiable lvalue
    token->val.str.text[token->val.str.len] = '\0';
    ^

"/exd4/billingd/src/gcc-mainline/gcc/cppmacro.c", line 492: warning(1185):
          enumerated type mixed with another type
        result = token->type;
               ^

1 error detected in the compilation of
"/exd4/billingd/src/gcc-mainline/gcc/cppm
acro.c".        


May be due to:

  2001-06-21  Neil Booth  <neil@cat.daikokuya.demon.co.uk>

        * cppmacro.c (make_string_token): Null terminate.
                          



More information about the Gcc-bugs mailing list