ipa-sra-19.c: Avoid unprototyped function
Power and IBM Z require a function prototype if a vector argument is passed. Complete the prototype of k to prevent errors from being triggered on these platforms gcc/testsuite/ChangeLog: 2019-10-24 Andreas Krebbel <krebbel@linux.ibm.com> * gcc.dg/ipa/ipa-sra-19.c: Remove dg-skip-if. Add argument type to prototype of k. From-SVN: r277409
This commit is contained in:
parent
315d42482c
commit
bf037872d3
@ -1,3 +1,8 @@
|
||||
2019-10-24 Andreas Krebbel <krebbel@linux.ibm.com>
|
||||
|
||||
* gcc.dg/ipa/ipa-sra-19.c: Remove dg-skip-if. Add argument type to
|
||||
prototype of k.
|
||||
|
||||
2019-10-24 Richard Biener <rguenther@suse.de>
|
||||
|
||||
* gcc.dg/vect/slp-reduc-10a.c: New testcase.
|
||||
|
@ -1,11 +1,10 @@
|
||||
/* { dg-do compile } */
|
||||
/* { dg-options "-O2" } */
|
||||
/* { dg-skip-if "" { powerpc*-*-* } } */
|
||||
|
||||
typedef int __attribute__((__vector_size__(16))) vectype;
|
||||
|
||||
vectype dk();
|
||||
vectype k();
|
||||
vectype k(vectype);
|
||||
|
||||
int b;
|
||||
vectype *j;
|
||||
|
Loading…
Reference in New Issue
Block a user