From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2119) id CF178385840B; Tue, 5 Oct 2021 15:16:29 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org CF178385840B MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="utf-8" From: Jeff Law To: gcc-cvs@gcc.gnu.org Subject: [gcc r12-4192] Fix s390 test to have pointer type for computed goto X-Act-Checkin: gcc X-Git-Author: Jeff Law X-Git-Refname: refs/heads/master X-Git-Oldrev: 5b4bf54a00be17e49433582c237724ac4e653608 X-Git-Newrev: f9e6f20f280daf74763cf3fe21f3c211d3d04620 Message-Id: <20211005151629.CF178385840B@sourceware.org> Date: Tue, 5 Oct 2021 15:16:29 +0000 (GMT) X-BeenThere: gcc-cvs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-cvs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Oct 2021 15:16:29 -0000 https://gcc.gnu.org/g:f9e6f20f280daf74763cf3fe21f3c211d3d04620 commit r12-4192-gf9e6f20f280daf74763cf3fe21f3c211d3d04620 Author: Jeff Law 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;