egcs bug? (fwd)

Horst von Brand vonbrand@sleipnir.valparaiso.cl
Sun Dec 20 14:01:00 GMT 1998


Paul Ezust <ezust@zeus.cas.suffolk.edu> said:

The crash is fixed in the latest snapshot (19981213), and egcs-1.1.1 also
compiles this fine. The result segfaults immediately, though, your b is
a pointer to readonly chars in:

char * const b = "abcdef";

The program is in error.

Thanks for the report!
-- 
Horst von Brand                             vonbrand@sleipnir.valparaiso.cl
Casilla 9G, Viña del Mar, Chile                               +56 32 672616






More information about the Gcc-bugs mailing list