This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Internal compiler error on -fxref.


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]