We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2796025 commit 57ed2bcCopy full SHA for 57ed2bc
regression/ansi-c/gcc_attributes10/main.c
@@ -2,15 +2,17 @@
2
int array##__LINE__[(condition) ? 1 : -1]
3
4
#ifdef __GNUC__
5
+#ifndef __clang__
6
-int x __attribute__ ((__vector_size__ (12), __may_alias__));
7
+int x __attribute__ ((__vector_size__ (16), __may_alias__));
8
int x2 __attribute__ ((__may_alias__));
-int x3 __attribute__ ((__may_alias__, __vector_size__ (12)));
9
+int x3 __attribute__ ((__may_alias__, __vector_size__ (16)));
10
-STATIC_ASSERT(sizeof(x)==12);
11
+STATIC_ASSERT(sizeof(x)==16);
12
STATIC_ASSERT(sizeof(x2)==sizeof(int));
-STATIC_ASSERT(sizeof(x3)==12);
13
+STATIC_ASSERT(sizeof(x3)==16);
14
15
+#endif
16
#endif
17
18
int main(int argc, char* argv[])
0 commit comments