[AArch64/arm] PR testsuite/85326 Avoid C++ tests when C++ compiler not present
[official-gcc.git] / gcc / testsuite / gcc.target / i386 / pr52146.c
blobdcc28d007fe61aeb1292b7cc0e728fac361c5066
1 /* { dg-do compile { target { ! ia32 } } } */
2 /* { dg-options "-O2 -mx32" } */
4 void
5 test1 (void)
7 int* apic_tpr_addr = (int *) 0xfee00080;
8 *apic_tpr_addr += 4;
11 void
12 test2 (void)
14 int* apic_tpr_addr = (int *) 0xfee00080;
15 *apic_tpr_addr = 0;
18 /* { dg-final { scan-assembler-not "\[,\\t \]+-18874240" } } */