]> gcc.gnu.org Git - gcc.git/blame - gcc/testsuite/gcc.dg/gomp/target-simd-clone-6.c
Merge branch 'releases/gcc-12' into devel/omp/gcc-12
[gcc.git] / gcc / testsuite / gcc.dg / gomp / target-simd-clone-6.c
CommitLineData
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
7int 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-*-* } } } */
This page took 0.096089 seconds and 5 git commands to generate.