invalid assembly language generated on Solaris
Gerald Pfeifer
pfeifer@dbai.tuwien.ac.at
Wed Jun 24 06:53:00 GMT 1998
On Wed, 24 Jun 1998, Dimitri PAPADOPOULOS-ORFANOS wrote:
> 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;
[...]
> $ g++ -c foo.cc
> /usr/ccs/bin/as: "/var/tmp/cc090YoK.s", line 229: error: can't compute value of an expression involving an external symbol
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.
That is, I believe that the problem has been fixed! :-)
Gerald
PS: Wolfgang, also our similiar problem seems to have been fixed.
--
Gerald Pfeifer (Jerry) Vienna University of Technology
pfeifer@dbai.tuwien.ac.at http://www.dbai.tuwien.ac.at/~pfeifer/
More information about the Gcc-bugs
mailing list