Mercurial > hg > CbC > CbC_gcc
comparison gcc/testsuite/g++.dg/ext/pr81706.C @ 131:84e7813d76e9
gcc-8.2
author | mir3636 |
---|---|
date | Thu, 25 Oct 2018 07:37:49 +0900 |
parents | 04ced10e8804 |
children |
comparison
equal
deleted
inserted
replaced
111:04ced10e8804 | 131:84e7813d76e9 |
---|---|
1 // PR libstdc++/81706 | 1 // PR libstdc++/81706 |
2 // { dg-do compile { target i?86-*-* x86_64-*-* } } | 2 // { dg-do compile { target i?86-*-* x86_64-*-* } } |
3 // { dg-options "-O3 -mavx2 -mno-avx512f" } | 3 // { dg-options "-O3 -mavx2 -mno-avx512f" } |
4 // { dg-final { scan-assembler "call\[^\n\r]_ZGVdN4v_cos" } } | 4 // { dg-final { scan-assembler "call\[^\n\r]__?ZGVdN4v_cos" } } |
5 // { dg-final { scan-assembler "call\[^\n\r]_ZGVdN4v_sin" } } | 5 // { dg-final { scan-assembler "call\[^\n\r]__?ZGVdN4v_sin" } } |
6 | 6 |
7 #ifdef __cplusplus | 7 #ifdef __cplusplus |
8 extern "C" { | 8 extern "C" { |
9 #endif | 9 #endif |
10 extern double cos (double) __attribute__ ((nothrow, leaf, simd ("notinbranch"))); | 10 extern double cos (double) __attribute__ ((nothrow, leaf, simd ("notinbranch"))); |