public inbox for gcc-cvs@sourceware.org help / color / mirror / Atom feed
From: Jeff Law <law@gcc.gnu.org> To: gcc-cvs@gcc.gnu.org Subject: [gcc r12-4192] Fix s390 test to have pointer type for computed goto Date: Tue, 5 Oct 2021 15:16:29 +0000 (GMT) [thread overview] Message-ID: <20211005151629.CF178385840B@sourceware.org> (raw) https://gcc.gnu.org/g:f9e6f20f280daf74763cf3fe21f3c211d3d04620 commit r12-4192-gf9e6f20f280daf74763cf3fe21f3c211d3d04620 Author: Jeff Law <jeffreyalaw@gmail.com> Date: Tue Oct 5 11:15:02 2021 -0400 Fix s390 test to have pointer type for computed goto gcc/testsuite * gcc.target/s390/pr80725.c: Ensure computed goto is used on a pointer type. Diff: --- gcc/testsuite/gcc.target/s390/pr80725.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/testsuite/gcc.target/s390/pr80725.c b/gcc/testsuite/gcc.target/s390/pr80725.c index 4a402c41422..d556e6ba7ca 100644 --- a/gcc/testsuite/gcc.target/s390/pr80725.c +++ b/gcc/testsuite/gcc.target/s390/pr80725.c @@ -18,7 +18,7 @@ foo (int x, int y) while (a < x) { if (y) - goto *d; + goto *(void *)d; g = b | b + g; bar (g); c = (char) (long) foo;
reply other threads:[~2021-10-05 15:16 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=20211005151629.CF178385840B@sourceware.org \ --to=law@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).