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]
Other format: [Raw text]

[Bug c++/21232] New: g++ segfaults


gcc version :
g++ (GCC) 3.4.1 (Mandrakelinux 10.1 3.4.1-4mdk)
Copyright (C) 2004 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

System type :
Linux simulateur 2.6.8.1-12mdk #1 Fri Oct 1 12:53:41 CEST 2004 i686 AMD
Athlon(tm) XP 2600+ unknown GNU/Linux

Input command line :
/usr/local/bin/g++ -c -Wall -pedantic -ansi -save-temps -I. -I. -Ifichiers
-Igenerale -IvueCellule -IvueParcelle -I/usr/include/gtk-1.2
-I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -o
fichiers/FichierInitParcelle.o fichiers/FichierInitParcelle.cpp

gcc output :
/usr/local/lib/gcc/i686-pc-linux-gnu/3.4.3/../../../../include/c++/3.4.3/bits/stl_iterator.h:
In function `typename __gnu_cxx::__normal_iterator<_IteratorL,
_Container>::difference_type __gnu_cxx::operator-(const
__gnu_cxx::__normal_iterator<_IteratorL, _Container>&, const
__gnu_cxx::__normal_iterator<_IteratorR, _Container>&) [with _IteratorL = const
double*, _IteratorR = const double*, _Container = std::vector<double,
std::allocator<double> >]':
/usr/local/lib/gcc/i686-pc-linux-gnu/3.4.3/../../../../include/c++/3.4.3/bits/stl_vector.h:375:
  instantiated from `size_t std::vector<_Tp, _Alloc>::size() const [with _Tp =
double, _Alloc = std::allocator<double>]'
/usr/local/lib/gcc/i686-pc-linux-gnu/3.4.3/../../../../include/c++/3.4.3/bits/stl_vector.h:395:
  instantiated from `void std::vector<_Tp, _Alloc>::resize(size_t, const _Tp&)
[with _Tp = double, _Alloc = std::allocator<double>]'
/usr/local/lib/gcc/i686-pc-linux-gnu/3.4.3/../../../../include/c++/3.4.3/bits/stl_vector.h:412:
  instantiated from `void std::vector<_Tp, _Alloc>::resize(size_t) [with _Tp =
double, _Alloc = std::allocator<double>]'
fichiers/FichierInitParcelle.cpp:22:   instantiated from here
/usr/local/lib/gcc/i686-pc-linux-gnu/3.4.3/../../../../include/c++/3.4.3/bits/stl_iterator.h:759:
erreur interne du compilateur: Segmentation fault

.ii file :
don't know how to submit a file...

-- 
           Summary: g++ segfaults
           Product: gcc
           Version: 3.4.1
            Status: UNCONFIRMED
          Severity: critical
          Priority: P2
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: valentin dot descamps at sancy dot clermont dot inra dot
                    fr
                CC: gcc-bugs at gcc dot gnu dot org


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


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