]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Fix bb-slp-pr97709.c after computed goto change
authorAndrew Pinski <apinski@marvell.com>
Fri, 1 Oct 2021 09:23:47 +0000 (09:23 +0000)
committerAndrew Pinski <apinski@marvell.com>
Fri, 1 Oct 2021 09:26:34 +0000 (09:26 +0000)
Looks like I tested the change for bb-slp-pr97709.c on an
older tree which did not have the error message so I had
missed one more place where the change was needed.

Anyways committed after testing to make sure the testcase passes
now.

gcc/testsuite/ChangeLog:

* gcc.dg/vect/bb-slp-pr97709.c: Fix for computed goto
pointers.

gcc/testsuite/gcc.dg/vect/bb-slp-pr97709.c

index d0f3d0512d946a68b4b8e2c584c9f978decf8d40..56ec0f6bda7722880f5a9a6fbf10c5ebeffae3ac 100644 (file)
@@ -17,7 +17,7 @@ g:
   d = 0;
 h:
   c = 1;
-  goto *a;
+  goto *(void*)(__INTPTR_TYPE__)a;
 i:
   {
     struct b b = {c, d};