[egcs-971207] mips-tfile repots: String too big

Andre Florath florath@gamic.com
Tue Dec 9 03:59:00 GMT 1997


       Hello!

       I think there was a mail about this bug in the egcs mailing
list some weeks ago but no bug report (and the bug still exists).  

* gcc version egcs-2.91.02 971206 (gcc-2.8.0)
  (Same result with egcs-1.0, gcc-2.7.2.3)

* Here is a file to reproduce the bug; it's named 'map.cc'

---------------------------- map.cc ----------------------------------
#include <map>
#include <functional>

class MyClass
{};

int main(void)
{
  map<unsigned long, MyClass, less<unsigned long> > li;

  for(map<unsigned long, MyClass, less<unsigned long> >::const_iterator i=li.begin(); i!=li.end(); ++i)
    ;

  return 0;
}
----------------------------------------------------------------------

* Compile with:
  g++ -g -c map.cc
  (the -g is important!)

* Machine:
  OSF1 V4.0 564 alpha
  alpha-dec-osf4.0b
  System linker and assembler (NOT gnu)

* The compiler was configured with:
  configure --enable-shared

* It outputs:
mips-tfile, /tmp/ccaakwDa.s:213 String too big (4213 bytes)
line:    #.stabs "rb_tree<long unsigned int,pair<const long unsigned int,MyClass>,se[~4200 chars follow]

	At the moment it is more or less impossible to debug a
programm that uses STL map/multimap on dec alpha.

	Andre





More information about the Gcc-bugs mailing list