Compiler Black-Box Testing and Peculiar Bugs Encountered .
summary
Solid Sands uses SuperTest and requirements-based testing against the C and C++ standards and reports six concrete failures: a surprising RAII leak fixed only in GCC12 where a fully constructed subobject is not destroyed (reproducible on GCC 11.4), a floating-literal long double promotion mismatch in recent GCC, a low-resistance std::hash vector<bool> collision pattern in Clang, GCC accepting undefined pointer subtraction as a core constant expression, conjunction not enforcing constexpr convertibility, and Clang allowing forbidden explicit-instantiation specifiers.
AI-written summary · about
chapters (10)
- 0:00Introduction and motivation
- 2:01Talk overview and presenters
- 3:47About Solid Sands and products
- 6:41RAII exception handling bug in GCC
- 13:51Floating literal type discrepancy in GCC
- 16:41Boolean vector hash collision in Clang
- 24:11Core constant expression undefined behavior
- 26:58Logical operator type trait bug
- 30:54Explicit instantiation specifier bug
- 32:55Q&A session
