public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc/devel/c++-modules] testsuite: Fix up pr92788.C FAIL on ia32.
@ 2020-01-31 17:41 Nathan Sidwell
  0 siblings, 0 replies; only message in thread
From: Nathan Sidwell @ 2020-01-31 17:41 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:cc74832213ba1fc7abe402573a0b381e1c404df0

commit cc74832213ba1fc7abe402573a0b381e1c404df0
Author: Jakub Jelinek <jakub@redhat.com>
Date:   Sun Jan 26 00:32:01 2020 +0100

    testsuite: Fix up pr92788.C FAIL on ia32.
    
    2020-01-26  Jakub Jelinek  <jakub@redhat.com>
    
    	PR tree-optimization/92788
    	* g++.dg/pr92788.C: Move to ...
    	* g++.target/i386/pr92788.C: ... here.  Remove target from dg-do line.
    	Change type of operator new's first parameter to __SIZE_TYPE__.

Diff:
---
 gcc/testsuite/ChangeLog                             | 7 +++++++
 gcc/testsuite/{g++.dg => g++.target/i386}/pr92788.C | 4 ++--
 2 files changed, 9 insertions(+), 2 deletions(-)

diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 587603f..4990135 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,10 @@
+2020-01-26  Jakub Jelinek  <jakub@redhat.com>
+
+	PR tree-optimization/92788
+	* g++.dg/pr92788.C: Move to ...
+	* g++.target/i386/pr92788.C: ... here.  Remove target from dg-do line.
+	Change type of operator new's first parameter to __SIZE_TYPE__.
+
 2020-01-25  Marek Polacek  <polacek@redhat.com>
 
 	PR c++/93414 - poor diagnostic for dynamic_cast in constexpr context.
diff --git a/gcc/testsuite/g++.dg/pr92788.C b/gcc/testsuite/g++.target/i386/pr92788.C
similarity index 98%
rename from gcc/testsuite/g++.dg/pr92788.C
rename to gcc/testsuite/g++.target/i386/pr92788.C
index b92ae38..048bbd1 100644
--- a/gcc/testsuite/g++.dg/pr92788.C
+++ b/gcc/testsuite/g++.target/i386/pr92788.C
@@ -1,4 +1,4 @@
-/* { dg-do compile { target i?86-*-* x86_64-*-* } } */
+/* { dg-do compile } */
 /* { dg-require-effective-target c++11 } */
 /* { dg-options "-O3 -fnon-call-exceptions -ftracer -march=k8 -Wno-return-type" } */
 
@@ -17,7 +17,7 @@ struct is_same : integral_constant<true> {};
 
 template <bool, typename _Tp> using __enable_if_t = _Tp;
 
-void *operator new(unsigned long, void *__p) { return __p; }
+void *operator new(__SIZE_TYPE__, void *__p) { return __p; }
 
 template <typename _Iterator, typename> class __normal_iterator {


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-01-31 17:40 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-01-31 17:41 [gcc/devel/c++-modules] testsuite: Fix up pr92788.C FAIL on ia32 Nathan Sidwell

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).