blob: a4804e67797d0aa61ef8f8233ca71a4a1e6d01f4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
/* { dg-do compile { target { ! { ia32 } } } } */
/* { dg-options "-O2 -mx32" } */
void
test1 (void)
{
int* apic_tpr_addr = (int *) 0xfee00080;
*apic_tpr_addr += 4;
}
void
test2 (void)
{
int* apic_tpr_addr = (int *) 0xfee00080;
*apic_tpr_addr = 0;
}
/* { dg-final { scan-assembler-not "-18874240" } } */
|