Here is a minimal reproducible example: ```c++ #include <iostream> int main() { try { throw "EX"; } catch (const char* const& e) { std::cout << "e=" << e << '\n'; } } ``` The binary produced by the [llvm-mingw 20250924 with LLVM 21.1.2](https://github.com/mstorsjo/llvm-mingw/releases/tag/20250924) toolchain prints garbage output, unlike binaries built with other toolchains. This issue breaks the [`BOOST_<level>_EXCEPTION`](https://www.boost.org/doc/libs/1_89_0/libs/test/doc/html/boost_test/utf_reference/testing_tool_ref/assertion_boost_level_exception.html) macros.