1 /* PR tree-optimization/100834 */
2 /* { dg-do compile { target size32plus } } */
3 /* { dg-options "-O2 -Wall" } */
6 #define STACK_SIZE PAGE_SIZE
12 unsigned long r15
, r14
, r13
, r12
, r11
, r10
, r9
, r8
;
13 unsigned long rdi
, rsi
, rbp
, unused
, rbx
, rdx
, rcx
, rax
;
15 unsigned long by_index
[16];
22 unsigned char stack
[STACK_SIZE
];
25 unsigned char __fill
[STACK_SIZE
- sizeof (union registers
)];
26 union registers guest_regs
;
29 } __attribute__((aligned (PAGE_SIZE
)));
31 static inline struct per_cpu
*
34 return (struct per_cpu
*) 0xdeadbeef;
40 struct per_cpu
*cpu_data
= this_cpu_data ();
41 __builtin_memset (&cpu_data
->guest_regs
, 0, sizeof (cpu_data
->guest_regs
)); /* { dg-bogus "is out of the bounds" } */