Upload Tizen:Base source
[external/binutils.git] / ld / testsuite / ld-pe / aligncomm-4.c
1
2 typedef float __m128 __attribute__ ((__vector_size__ (16), __may_alias__));
3 typedef __SIZE_TYPE__ size_t;
4
5 long s1 = 0;
6 long s2 = 0;
7 long s3 = 0;
8 long s4 = 0;
9 __m128 r;
10 __m128 * volatile raddr = &r;
11
12 int main (int argc, const char **argv)
13 {
14   return 15 & (int)(size_t)raddr;
15 }
16
17 void __main (void)
18 {
19   asm (".section .drectve\n"
20         "  .ascii \" -aligncomm:_r,4\"\n"
21         "  .ascii \" -aligncomm:r,4\"\n"
22         "  .text");
23 }
24
25 #if defined (__CYGWIN__) || defined (__MINGW32__)
26 void _alloca (void)
27 {
28 }
29 #endif