| Issue |
182534
|
| Summary |
Clang Crash Invalid Attribute with opencl
|
| Labels |
clang
|
| Assignees |
|
| Reporter |
apbenson00
|
- this bug was found from fuzzing
- crash on invalid input
- it only seems to occur with different combinations of opencl attributes (opencl_local, opencl_constant, opencl_global, etc.)
## Code
```
int Nop();
void baz(__attribute__((opencl_global)) int (*Data)) {}
void fizz() {
baz(Nop);
}
```
## CompilerExplorer
https://godbolt.org/z/c466Kx9hP
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs