With attached file, I get the following segfault with mainline:  
 
examples/step-18> /home/bangerth/bin/gcc-4.1-pre/bin/c++ -c step-18.ii 
step-18.ii:7102: warning: ‘__malloc__’ attribute ignored 
step-18.ii: In constructor &#8216;std::_Vector_base<_Tp, 
_Alloc>::_Vector_base(size_t, const _Alloc&) [with _Tp = Vector<double>, 
_Alloc = std::allocator<Vector<double> >]&#8217;: 
step-18.ii:85305: internal compiler error: Segmentation fault 
Please submit a full bug report, 
with preprocessed source if appropriate. 
See <URL:http://gcc.gnu.org/bugs.html> for instructions. 
 
W.

-- 
           Summary: [4.1 regression] Segfault
           Product: gcc
           Version: 4.1.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P2
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: bangerth at dealii dot org
                CC: gcc-bugs at gcc dot gnu dot org


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

Reply via email to