public inbox for gcc-cvs@sourceware.org help / color / mirror / Atom feed
From: Nathan Sidwell <nathan@gcc.gnu.org> To: gcc-cvs@gcc.gnu.org Subject: [gcc/devel/c++-modules] testsuite: Fix up pr92788.C FAIL on ia32. Date: Fri, 31 Jan 2020 17:41:00 -0000 [thread overview] Message-ID: <20200131174002.113818.qmail@sourceware.org> (raw) 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 {
reply other threads:[~2020-01-31 17:40 UTC|newest] Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20200131174002.113818.qmail@sourceware.org \ --to=nathan@gcc.gnu.org \ --cc=gcc-cvs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
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).