From: bnell@cadillac.siemens.com (Bill Nell)
Subject: (none)
Organization: GNUs Not Usenet
Distribution: gnu
Date: Tue, 21 Jul 1992 15:16:29 GMT

Here is a bug I found in gcc 2.1 it seems to have something to do
with templates (in C++). I'm assuming that gcc 2.1 actually supports
templates because it compile my file without complaining.  Anyway,
after compiling I looked at my .o file and it was a whopping 64 bytes
long.  Obviously it was too small to hold all the class info.  But
I tried to link it with a test program anyway and found not-surprisingly
that it couldn'y find any of the member functions I used from that class.

Unfortunately I don't know how gcc was configured when it was installed
so I can't give you that info.  I also noticed this bug on a port of
gcc to the atari st.  At first I thought it was a problem with the port
but then I tried it at work on my sparc and got the same results.

Here is a listing of my source and the commands I used to compile.
(If you need any more info then please mail me back)

                                            Thanks,
                                            Bill

begin 644 bug.tar.Z
M'YV0=/+ *3-GC)PT<.@ 6,BPH<.'$"-*G$BQ8D40&&W0H $"0,88,6YTQ%C#
MQ@T9(S&JE &2!@R2,F;,@!%3XPR5-F;4N.'1HL^?0(,*'4JTJ-&C2),J7<J4
MZ12#".F F$,GC!PZ9<B >.,&!)4Z94 HJ<,&!$L0,6#HJ!%#AXP<:'/DD*' 
M3!DY<JRFT>'GQ1PY8U[0:0/'!X@S8\: :&%GL6*K>?.X2-R@@0(I9<*02>/F
MS-2!8^: ,"/G31L0+]B\&1.&C5^#J=.(>8%X3 LVLOW"L6I[3ATW+7R[>3.'
MAHL8+V0<UUTFM.7:(.S<G9.&J]GCEE&K9NVZH)S8LVO?SCUG-^#@O]$/+[Y<
M.?(Q<. L9A.F<XLQ*U8L;MSB-YDR9BQ&Q!=?'.%$%4,0V -*+0Q8X(%'*,B@
M@_"Q44=Y%HK68'F\"2B<@+^E@8> !'((&($D?B$<B@T2&"(>+#IHHF(MJOA;
MBB^" %D8DB6&VH7?#0;'"XF% <,-.<2@7!J6&5@%"$-  45TTU77E7L@H#!C
M"I8ET949:; 1%F=C6/B?5J29IMUJK;WV'6[AY=<"F6:6X1<=9,#I AHZQ,#"
M:*6=MF./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