The following code generates a mudflap violation.
#include <iostream> #include <stdexcept> int main() { try { throw std::runtime_error("This is a test"); } catch (std::exception& ex) { std::cerr << ex.what() << std::endl; } return 0; } -- Summary: Mudflap on C++ Exception Product: gcc Version: 4.4.4 Status: UNCONFIRMED Severity: normal Priority: P3 Component: libmudflap AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: rob+gcc at pangalactic dot org GCC build triplet: x86_64-pc-linux-gnu GCC host triplet: x86_64-pc-linux-gnu GCC target triplet: x86_64-pc-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45023