../../gcc/fixproto[275]: 25412 Memory fault(coredump)

Neil Booth neil@daikokuya.demon.co.uk
Wed Mar 7 11:45:00 GMT 2001


John David Anglin wrote:-

> I know alloca caused the segmentation fault.

Right, but I suspect that's because it overflowed your stack with the
same huge allocation that malloc had.

The best solution is to remove any dependence on external
implementations and write our own basename ().

Neil.



More information about the Gcc-bugs mailing list