egcs bug? (fwd)

Alexandre Oliva oliva@dcc.unicamp.br
Sat Dec 19 19:39:00 GMT 1998


On Dec 20, 1998, Alexandre Oliva <oliva@dcc.unicamp.br> wrote:

> On Dec 19, 1998, Paul Ezust <ezust@zeus.cas.suffolk.edu> wrote:

>> int main() { char * const b = "abcdef"; b[3] = '3';

> You can't modify a constant string

Just to make sure it's clear, I meant `string literal' here

-- 
Alexandre Oliva  http://www.dcc.unicamp.br/~oliva  aoliva@{acm.org}
oliva@{dcc.unicamp.br,gnu.org,egcs.cygnus.com,samba.org}
Universidade Estadual de Campinas, SP, Brasil




More information about the Gcc-bugs mailing list