From: Rainer Orth Date: Mon, 20 Nov 2017 13:03:06 +0000 (+0000) Subject: Add g++.dg/pr82836.C requirements X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9aab553436aa25a1306cdd03c0fae107828e8725;p=gcc.git Add g++.dg/pr82836.C requirements * g++.dg/pr82836.C: Require int128, __float128 support. Add __float128 options. (size_t): Define using __SIZE_TYPE__. From-SVN: r254953 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 6148d4b5384..70dc9926009 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2017-11-20 Rainer Orth + + * g++.dg/pr82836.C: Require int128, __float128 support. + Add __float128 options. + (size_t): Define using __SIZE_TYPE__. + 2017-11-20 Jakub Jelinek PR c++/82781 diff --git a/gcc/testsuite/g++.dg/pr82836.C b/gcc/testsuite/g++.dg/pr82836.C index cbeb6280df7..5469614cf8f 100644 --- a/gcc/testsuite/g++.dg/pr82836.C +++ b/gcc/testsuite/g++.dg/pr82836.C @@ -1,12 +1,15 @@ // PR c++/82836 // { dg-options "-std=c++17" } +// { dg-require-effective-target int128 } +// { dg-require-effective-target __float128 } // { dg-additional-options "-Wno-pedantic -Wno-return-type" } +// { dg-add-options __float128 } // We were resetting DECL_ASSEMBLER_NAME when processing pragma weak, // breaking C++'s mangling alias hash table. That hash table needs to // be tickled in just the right way to hit the problem. namespace std { -typedef long unsigned size_t; +typedef __SIZE_TYPE__ size_t; inline namespace __cxx11 {} double abs() {return 0;} __int128 abs(__int128 ) {return 0;}