CPP crash fix

Zack Weinberg zack@wolery.cumb.org
Sun Jul 16 14:24:00 GMT 2000


On Sun, Jul 16, 2000 at 11:18:43PM +0200, Laurynas Biveinis wrote:
> Consider following testcase (under DJGPP, striped down from bootstrap):
> tinfo.cc:
> --8<--8<--
> #pragma implementation "typeinfo"
> --8<--8<--
> And command line:
> cpp.exe -lang-c++ -I. -remap -imacros /dev/env/DJDIR/lib/gcc-lib/djgpp/296./../../../../include/sys/version.h tinfo.cc tinfo.i
> 
> ...and the CPP crashes.

Patch applied, thank you.  I believe DJGPP is the only target that
uses -remap, so it's not surprising you find bugs in it.

Could you try to concoct a test case that did not depend on DJGPP's
environment?  I have to admit I only have a vague idea of what -remap
does and why it's needed.

zw


More information about the Gcc-patches mailing list