#include <stdexcept> using namespace std; int main() { throw runtime_error("ouch"); }
// g++ -Wall -Wextra test.cc -o test -O3 -s // g++ (GCC) 4.3.3-dw2-tdm-1 <http://nuwen.net/mingw.html> // WinXP SP3 // CMD.exe Result: This application has requested the Runtime to terminate it in an unusual way. Please contact the application's support team for more information. Expected: "ouch" should be shown somewhere in there. It used to be in < 4.3. -- Summary: [regression] runtime_error text not shown Product: gcc Version: 4.3.3 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: shadow2531 at gmail dot com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39530