public inbox for gcc-cvs@sourceware.org help / color / mirror / Atom feed
From: Alex Coplan <acoplan@gcc.gnu.org> To: gcc-cvs@gcc.gnu.org Subject: [gcc(refs/vendors/ARM/heads/morello)] testsuite: Move intptr-eval.c to c-c++-common Date: Mon, 13 Jun 2022 10:14:21 +0000 (GMT) [thread overview] Message-ID: <20220613101421.6E9CA38515D9@sourceware.org> (raw) https://gcc.gnu.org/g:92446a01050f5c20f8f719966137a4976dbd6b75 commit 92446a01050f5c20f8f719966137a4976dbd6b75 Author: Alex Coplan <alex.coplan@arm.com> Date: Wed Jun 8 15:57:52 2022 +0100 testsuite: Move intptr-eval.c to c-c++-common This ensures the test is run for both C and C++. Diff: --- .../{gcc.c-torture/execute => c-c++-common/torture}/intptr-eval.c | 1 + 1 file changed, 1 insertion(+) diff --git a/gcc/testsuite/gcc.c-torture/execute/intptr-eval.c b/gcc/testsuite/c-c++-common/torture/intptr-eval.c similarity index 97% rename from gcc/testsuite/gcc.c-torture/execute/intptr-eval.c rename to gcc/testsuite/c-c++-common/torture/intptr-eval.c index dd7a13ced83..681daaa86f7 100644 --- a/gcc/testsuite/gcc.c-torture/execute/intptr-eval.c +++ b/gcc/testsuite/c-c++-common/torture/intptr-eval.c @@ -1,6 +1,7 @@ /* This was being miscompiled on capability targets since we were incorrectly evaluating intcap operands twice: once to get the capability, and again to get the capability value. */ +/* { dg-do run } */ int i; __INTPTR_TYPE__ f() { i++; return 1; }
reply other threads:[~2022-06-13 10:14 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=20220613101421.6E9CA38515D9@sourceware.org \ --to=acoplan@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).