Issue |
138145
|
Summary |
Excessive repoting when after pull request https://github.com/llvm/llvm-project/pull/136855
|
Labels |
new issue
|
Assignees |
|
Reporter |
earnol
|
I have noticed excessive reporting with constant NULL pointer for the new C++ compatibly warnings implemented in https://github.com/llvm/llvm-project/commit/15321d2c9e686b382262339fa17c5445b1b2609f.
Please see following code:
```
__attribute__((address_space(0))) char *b;
__attribute__((address_space(21))) char *c;
int main(int argc, char *argv[])
{
c = (__attribute__((address_space(21))) void*)0x25;
b = (__attribute__((address_space(0))) void*)0;
return (c > 0) & (b != 0);
}
```
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs