[Bug c++/11225] New: comiler segfaults on stl_iterator_base_types.h:84

radu at techie dot com gcc-bugzilla@gcc.gnu.org
Tue Jun 17 22:32:00 GMT 2003


PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11225

           Summary: comiler segfaults on stl_iterator_base_types.h:84
           Product: gcc
           Version: 3.3
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: c++
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: radu@techie.com
                CC: gcc-bugs@gcc.gnu.org
 GCC build triplet: i386-linux
  GCC host triplet: i386-linux
GCC target triplet: i386-linux

Running debian unstable, g++ 3.3. 

Compiles fine with g++-3.2,

Can not provide preprocessed output due to US export restrictions on this
particular file, but it is possible other STL iterator code might do the same.

Willing to investigate if given pointers.

thanks
-r

=====

Reading specs from /usr/lib/gcc-lib/i386-linux/3.3/specs
Configured with: ../src/configure -v
--enable-languages=c,c++,java,f77,pascal,objc,ada,treelang --prefix=/usr
--mandir=/usr/share/man --infodir=/usr/share/info
--with-gxx-include-dir=/usr/include/c++/3.3 --enable-shared --with-system-zlib
--enable-nls --without-included-gettext --enable-__cxa_atexit
--enable-clocale=gnu --enable-debug --enable-java-gc=boehm
--enable-java-awt=xlib --enable-objc-gc i386-linux
Thread model: posix
gcc version 3.3 (Debian)


=======

/usr/bin/g++ -I./ -I./Includes/ -I../Includes/ -I../../Includes/   -Wall -W
-Wbad-function-cast -Wmissing-declarations -Woverloaded-virtual -Wtraditional
-Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wconversion
-Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wsynth -gstabs3
-foperator-names  -Ur -c debug.cc
cc1plus: warning: "-Wbad-function-cast" is valid for C/ObjC but not for C++
cc1plus: warning: "-Wmissing-declarations" is valid for C/ObjC but not for C++
cc1plus: warning: "-Wtraditional" is valid for C/ObjC but not for C++
cc1plus: warning: "-Wnested-externs" is valid for C/ObjC but not for C++
In file included from /usr/include/c++/3.3/backward/iostream.h:31,
                 from debug.cc:28:
/usr/include/c++/3.3/backward/backward_warning.h:32:2: warning: #warning This
file includes at least one deprecated or antiquated header. Please consider
using one of the 32 headers found in section 17.4.1.2 of the C++ standard.
Examples include substituting the <X> header for the <X.h> header for C++
includes, or <sstream> instead of the deprecated header <strstream.h>. To
disable this warning use -Wno-deprecated.
In file included from /usr/include/c++/3.3/bits/stl_algobase.h:73,
                 from /usr/include/c++/3.3/memory:54,
                 from /usr/include/c++/3.3/string:48,
                 from /usr/include/c++/3.3/bits/locale_classes.h:47,
                 from /usr/include/c++/3.3/bits/ios_base.h:47,
                 from /usr/include/c++/3.3/ios:49,
                 from /usr/include/c++/3.3/ostream:45,
                 from /usr/include/c++/3.3/iostream:45,
                 from /usr/include/c++/3.3/backward/iostream.h:32,
                 from debug.cc:28:
/usr/include/c++/3.3/bits/stl_iterator_base_types.h:84: internal compiler error:
Segmentation
   fault
Please submit a full bug report,



More information about the Gcc-bugs mailing list