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]

egcs-1.1 under cygwin, why save inline template symbol names?


egcs-1.1 (egcs-2.91.57 19980901 (egcs-1.1 release)) built cleanly under
cygwin-B19, on an i586.  I am working with c++ expression templates, and
my object files are getting clogged up with huge symbols for inline
functions, such as (nm -C output even though c++filt can't seem to
unmangle this):

         U
_assign_from__H1Zt3Xpr5ZdZt8XprBinOp5ZdZt3Ref3ZdZt9Indexable5ZdZt3Xpr
5ZdZt8XprBinOp5ZdZt3Ref3ZdZt9Indexable5ZdZt6Vector1Zd5Store04Data05Shape
15Shape1
Zt3Val3ZdZt3Ref3ZdZt9Indexable5ZdZt6Vector1Zd5Store04Data05Shape15Shape1
5Shape1Z
t5OpMul1Zd5Shape15Store04Data05Shape15Store04Data05Shape15Shape1Zt3Ref3Z
dZt9Inde
xable5ZdZt3Xpr5ZdZt8XprBinOp5ZdZt3Val3ZdZt3Ref3ZdZt9Indexable5ZdZt6Vecto
r1Zd5Sto
re04Data05Shape15Shape15Shape1Zt3Ref3ZdZt9Indexable5ZdZt6Vector1Zd5Store
04Data05
Shape15Shape1Zt5OpMul1Zd5Shape15Store04Data05Shape15Store04Data05Shape15
Shape1Zt
5OpAdd1Zd5Shape15Store04Data05Shape1_t9Indexable5ZdZt6Vector1Zd5Store04D
ata05Sha
pe1RCt9Indexable5ZdZX015Store04Data05Shape1_v

This make the object files very big.  These symbols do not show up under
linux or HPUX, as I belive they should not.  Everything links fine, it
is just that my library is about 4x bigger than it should be because of
all these useless symbol names.
	Anyone else experience this?  Is it a known bug? Do Mumits
precompiled binaries also show this peculiarity?

Thanks

________________________

Jan N. Reimers
Manager, Materials Research
Moli, Energy (1990) Ltd.
________________________


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