mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-03-25 01:30:44 +08:00
Only use __float128 in test if available
* testsuite/26_numerics/complex/requirements/more_constexpr.cc: Fix failure on targets without __float128. From-SVN: r266450
This commit is contained in:
parent
2d30555621
commit
f4d3e3cca5
@ -1,3 +1,8 @@
|
||||
2018-11-26 Jonathan Wakely <jwakely@redhat.com>
|
||||
|
||||
* testsuite/26_numerics/complex/requirements/more_constexpr.cc: Fix
|
||||
failure on targets without __float128.
|
||||
|
||||
2018-11-23 Edward Smith-Rowland <3dw4rd@verizon.net>
|
||||
|
||||
Implement P0415 More constexpr for std::complex.
|
||||
|
@ -164,8 +164,10 @@ int main()
|
||||
__gnu_test::test_operator_members<long double, double>();
|
||||
__gnu_test::test_operator_members<long double, long double>();
|
||||
|
||||
#if defined(_GLIBCXX_USE_FLOAT128)
|
||||
// Test primary template.
|
||||
__gnu_test::test_operator_members<__float128, __float128>();
|
||||
#endif
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user