c++: normalizing ttp constraints [PR115656]
[official-gcc.git] / gcc / testsuite / gcc.target / powerpc / pr106680-4.c
blob7fee48d39f3a2260e654ed9872544766a679acf7
1 /* Skip this on aix, otherwise it emits the error message like "64-bit
2 computation with 32-bit addressing not yet supported" on aix. */
3 /* { dg-skip-if "" { powerpc*-*-aix* } } */
4 /* { dg-require-effective-target ilp32 } */
5 /* { dg-options "-mpowerpc64 -m32 -O2" } */
7 /* Verify option -m32 doesn't override option -mpowerpc64.
8 If option -mpowerpc64 gets overridden, the assembly would
9 end up with addc and adde. */
10 /* { dg-final { scan-assembler-not {\maddc\M} } } */
11 /* { dg-final { scan-assembler-not {\madde\M} } } */
12 /* { dg-final { scan-assembler-times {\madd\M} 1 } } */
14 long long foo (long long a, long long b)
16 return a+b;