+ should strip lvalue

mike stump mrs@windriver.com
Sun Dec 30 15:43:00 GMT 2001


$ cat t.c
int i;

int main() { +i = 1; return 0; }


$ g++  t.c
t.c: In function `int main()':
t.c:3: non-lvalue in assignment


$ gcc  t.c
$ 



More information about the Gcc-bugs mailing list