PR inline-asm/84742
[official-gcc.git] / gcc / testsuite / gcc.target / ia64 / pr52731.c
blob50ef1d78d757dcde36c7a0b5a77385b46049ef12
1 /* { dg-do compile { target ia64-*-* } } */
2 /* { dg-options "-O2" } */
4 char* area;
5 long int area_size;
6 char* base;
8 void fun(unsigned long int addr)
10 unsigned long int size32 = (addr + 4096 - 1) & ~(4096 - 1);
11 unsigned long int size = size32 * sizeof(unsigned int);
13 if (size > 0) {
14 size = (size + 1) & ~(1);
17 area_size = size;
18 area = base + size;