Hi, 
 
the following code causes GCC to crash (without any options): 
 
#include <boost/optional.hpp> 
 
class Bla; 
 
int main() 
{ 
    boost::optional<Bla> test; 
} 
 
I can reproduce it with GCC 4 but not with GCC 3.3.6. Without ulimit -s this 
error crashes even the whole system. Smells like kind of endless recursion. 
 
 
Cheers, 
André

-- 
           Summary: Internal error: Segmentation fault (program cc1plus)
           Product: gcc
           Version: 3.4.4
            Status: UNCONFIRMED
          Severity: critical
          Priority: P2
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: Woebbeking at web dot de
                CC: gcc-bugs at gcc dot gnu dot org


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

Reply via email to