Issue |
143486
|
Summary |
Clang -pedantic: non-ISO practices may not be diagnosed
|
Labels |
clang
|
Assignees |
|
Reporter |
pmor13
|
I do believe that per ISO C11 this code:
```
int x __attribute__ ((aligned (16))) = 0;
```
leads to syntax error.
A conforming implementation shall produce at least one diagnostic message.
Clang with options `-std=c11 -Wall -Wextra -pedantic` produces nothing.
@AaronBallman Any comments?
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs