This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Internal compiler error on -fxref.
- To: egcs at cygnus dot com
- Subject: Re: Internal compiler error on -fxref.
- From: Bruce Stephens <bruce at cenderis dot demon dot co dot uk>
- Date: 25 Jul 1998 11:46:19 +0100
- Cc: Pal-Kristian Engstad <engstad at intermetrics dot com>
- References: <35B90650.DC8FEDC7@intermetrics.com>
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.