Matthew Voss
Matthew Voss
When `-std=c++20` is specified, clang fails to build a simple program that instantiates a varadic template due to an assertion. Compiling the same program with `-std=c++17` works as expected. Code:...
The `float_control(precise, on)` no longer has an effect if a function is inlined. In the example below, adding the "noinline" attribute to a function changes the instruction used in the...
The static analyzer crashes when passed a small program containing __builtin_bit_cast. ``` $ cat test.cpp int *a; char b[4]; void c() { a[__builtin_bit_cast(int, b)]; } $ clang++ --version |& grep...
An assembler load instruction with an invalid addressing mode on x86 is silently missassembled to a separate instruction that was not requested. ```bash $ cat test.s .intel_syntax noprefix .code64 test_case:...
When .set follows the use, the compiler emits a fixup slot and then never fills it. If the order is reversed, the code compiles properly with a movabs. This was...
We're seeing a new diagnostic trigger in an internal test. The diagnostic is implemented in... ``` commit d8a281590311010955c323806fb24fa484376f4d Author: Richard Smith Date: Thu Sep 26 15:56:33 2024 -0700 [clang] implement...