]>
Commit | Line | Data |
---|---|---|
f01e3b9d SL |
1 | /* { dg-options "-fopenmp -Og" } */ |
2 | ||
3 | /* Test that simd clones are not generated for functions with | |
4 | "declare target" at -Og. */ | |
5 | ||
6 | #pragma omp declare target | |
7 | int addit(int a, int b, int c) | |
8 | { | |
9 | return a + b; | |
10 | } | |
11 | #pragma omp end declare target | |
12 | ||
13 | /* { dg-final { scan-assembler-not "_Z.*_addit" { target i?86-*-* x86_64-*-* } } } */ |