This is the mail archive of the gcc-bugs@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: invalid assembly language generated on Solaris


> > The following source generates invalid assembly language on
> > Solaris 2.x with gcc-2.8.x and egcs-1.0.x:
> > 
> > 	#include <set>
> > 	#include <string>
> > 	set< set<string> > foo;
> [...]
> I have tried this on sparc-sun-solaris2.5.1 with Sun as: SC4.2 dev 30 Nov 1995
> and while I could reproduce your problem with egcs-1.0.3a, a more current
> snapshot egcs-2.91.40 19980613 compiles your example without a hitch.

I tried once again with egcs-2.91.42 19980621 on sparc-sun-solaris2.5.1
with Sun as: WorkShop Compilers 4.X dev 18 Sep 1996.

It still won't work:
	$ g++ -c foo.cc
	/usr/ccs/bin/as: "/var/tmp/cca004Pd.s", line 251: error: can't compute value of an expression involving an external symbol

Dimitri


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