This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
apparent g++ bug: code using STL map does not assemble on DEC UNIX V4.0D
- To: gcc-bugs at gcc dot gnu dot org
- Subject: apparent g++ bug: code using STL map does not assemble on DEC UNIX V4.0D
- From: John Aach <aach at genetics dot med dot harvard dot edu>
- Date: Tue, 14 Mar 2000 08:37:07 -0500
Hello, there.
I cannot seem to use STL maps without getting errors in the assembly step
using g++.
The system I am using is a DEC alpha 3000 running Digital UNIX V4.0D (Rev.
878); Tue Jul 21 17:59:13 EDT 1998.
Documentation as per your bug reporting instructions on
http://www.gnu.org/software/gcc/bugs.html is attached.
----------------
The program I have submitted as an example of the bug (testm.cc) is simply
the following:
#include <string>
#include <map>
void main() {
map<string,string> m;
m["a"] = "b";
}
Clearly this is a very stripped-down version of the program that I actually
wish to compile.
----------------------
The command I used to generate the attached documentation is as follows:
g++ -v --save-temps -o testm testm.cc > testm.out 2>&1
I compressed the testm.out and testm.ii files using gzip.
----------------------------
The version of g++ I am using is:
>g++ -v
Reading specs from /usr/local/lib/gcc-lib/alpha-dec-osf4.0d/egcs-2.91.66/specs
gcc version egcs-2.91.66 19990314 (egcs-1.1.2 release)
I am mindful of the comment in the bug reporting procedures not to report
bugs with egcs-1.0.x and egcs-1.1.x, but cannot tell from the version info
above whether I have what would be considered an egcs-2.x (egcs-2.91.6) or
an egcs-1.x (egcs-1.1.2) release.
----------------
Please let me know if there is any other information you require to
evaluate this potential bug.
Thank you very much,
--- John Aach
testm.out.gz
testm.ii.gz