Bruno De Fraine

Results issues of Bruno De Fraine

invalid

An assertion failure in clang prevents to use a `const` global variable in a (non-default) address space with a dynamic initialization, for example: ``` int f(); extern const int __attribute__((address_space(10)))...

clang:codegen
confirmed
crash

When GlobalOpt performs SRA on a global aggregate with an alignment constraint, it seems to propagate the alignment to _some_ of the elements haphazardly. For example: ``` alignas(32) static int...

ipo

This is explored in the following test cases. All lines marked "OK??" are cases where a diagnostic is logically missing (and gcc has a diagnostic if it understand the involved...

duplicate
c
clang:diagnostics

C++ test case: ``` void f(); // adding cfi_unchecked_callee is OK void (*fptr1)() __attribute__((cfi_unchecked_callee)) = &f; // adding noreturn is NOT ok void (*fptr2)() __attribute__((noreturn)) = &f; // BUG: adding...

clang:diagnostics

### Why are you requesting commit access ? I work in the ASIP team inside Synopsys on a [downstream compiler](https://www.synopsys.com/designware-ip/processor-solutions/asips-tools/asip-newsletters/asip-eupdate-april-2020.html) based on clang/LLVM. We also use clangd/libcxx/... I regularly contribute...

infra:commit-access-request

Clang raises a -Wshadow warning for the function parameter `x` in this C++ friend function: ```c++ class Foo { int x; friend bool operator==(const Foo& f, int x) { return...

clang:diagnostics
false-positive

### Describe the bug When specifying a gcc/clang command-line argument starting with "-loop", it seems this command-line argument is silently dropped. The easiest is to try a non-existing command-line argument...

bug