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]
Other format: [Raw text]

gcc/cp/cxxfilt.c


I see this entry in gcc/cp/ChangeLog.3:

2002-09-17  Zack Weinberg  <zack@codesourcery.com>

	* Make-lang.in: Remove all references to the demangler.
	* cxxfilt.c: Moved to binutils.

The corresponding entry in the cvs log of gcc/cp/cxxfilt.c shows that
the file was killed at that time:

revision 1.2
date: 2002/09/17 07:09:50;  author: zack;  state: dead;  lines: +0 -0
branches:  1.2.2;  1.2.4;
binutils:
        * Makefile.am (CFILES): Add cxxfilt.c.
        (cxxfilt_SOURCES): Now just cxxfilt.c $(BULIBS).
        (cxxfilt_LDADD): Delete.
        Remove all references to underscore.c.
        Regen dependencies.
        * configure.in: Define TARGET_PREPENDS_UNDERSCORE in
        config.h from $UNDERSCORE, rather than AC_SUBSTing it.
        * binutils/cxxfilt.c: Moved here from gcc/cp, minor
        adjustments to fit into binutils framework.
        * configure, config.in, Makefile.in, doc/Makefile.in: Regenerate.

gcc/cp:
        * Make-lang.in: Remove all references to the demangler.
        * cxxfilt.c: Moved to binutils.


However, the file was then resurrected here:

revision 1.3
date: 2002/12/16 18:22:11;  author: zack;  state: Exp;  lines: +2 -0
branches:  1.3.2;  1.3.4;
Merge basic-improvements-branch to trunk


This change to cxxfilt.c is reflected in the ChangeLog here:

2002-11-30  Zack Weinberg  <zack@codesourcery.com>

	* call.c, class.c, cp-lang.c, cvt.c, cxxfilt.c, decl.c, decl2.c,
	dump.c, error.c, except.c, expr.c, friend.c, g++spec.c, init.c,
	lex.c, mangle.c, method.c, optimize.c, parse.y, pt.c, ptree.c,
	repo.c, rtti.c, search.c, semantics.c, spew.c, tree.c, typeck.c,
	typeck2.c: Include coretypes.h and tm.h.
	* Make-lang.in: Update dependencies.

Note that nothing says that the file was added back again.  The branch
was made when cxxfilt.c was still alive.  cxxfilt.c was modified on
the branch.  When the branch was merged back to the trunk, cxxfilt.c
was resurrected.

All in all, this has the look of a mistake.  As far as I can see,
nothing refers to gcc/cp/cxxfilt.c.  I suspect that it should be
removed again.

Ian


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