http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53666
Bug #: 53666 Summary: -std=c++0x cause cc1plus to eat up RAM Classification: Unclassified Product: gcc Version: 4.6.3 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ AssignedTo: unassig...@gcc.gnu.org ReportedBy: slb...@gmail.com I have a line of code "static std::bitset<0X7FFFFFFFULL> bitSetPL;" in main.cpp, a simple programme . It's wired to pass gcc with flag -std=c++0x, even if no manipulation upon bitSetPL. It makes cc1plus to eat up memory :-(, but it goes well if flag -std=c++0x removed.