Internal compiler error on -fxref.
Bruce Stephens
bruce@cenderis.demon.co.uk
Sat Jul 25 04:12:00 GMT 1998
Pal-Kristian Engstad <engstad@intermetrics.com> writes:
> Obviously, the cp/xref.c module haven't been updated for a while,
> but it should not cause crash bugs. It works fine, except when
> dealing with templates (pt.c never references the xref.c file).
It's not surprising that it causes a crash, however. -fxref is
undocumented, and nobody claims that it works; possibly the right
thing to do is just reject the flag.
If you want similar functionality, have a look at the free TenDRA
<URL: http://alph.dra.hmg.gb/TenDRA/ >. This works for C and C++, and
also provides macro information, which is neat. The C++ is seriously
hampered by not having much of a library; to get the symbol
information, you could provide stub definitions.
If you wanted to fix -fxref (which I'm sure would be a good idea),
then the TenDRA system provides a nicely documented file format you
could copy.
More information about the Gcc
mailing list