public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [PATCH] testsuite: Skip pr105250.c for powerpc and s390 [PR105266]
@ 2022-04-14  3:10 Kewen.Lin
  2022-04-14  6:05 ` Andreas Krebbel
  2022-04-15 17:36 ` Segher Boessenkool
  0 siblings, 2 replies; 3+ messages in thread
From: Kewen.Lin @ 2022-04-14  3:10 UTC (permalink / raw)
  To: GCC Patches; +Cc: Segher Boessenkool, Richard Biener, krebbel

Hi,

The test case pr105250.c is like its related pr105140.c, which
suffers the error with message like "{AltiVec,vector} argument
passed to unprototyped" on powerpc and s390.  So like commits
r12-8025 and r12-8039, this fix is to add the dg-skip-if for
powerpc*-*-* and s390*-*-*.

Tested on powerpc64le-linux-gnu P9 and it should work on s390
as its similar PR105147.

Is it ok for trunk?

BR,
Kewen
-----

gcc/testsuite/ChangeLog:

	PR testsuite/105266
	* gcc.dg/pr105250.c: Skip for powerpc*-*-* and s390*-*-*.
---
 gcc/testsuite/gcc.dg/pr105250.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/gcc/testsuite/gcc.dg/pr105250.c b/gcc/testsuite/gcc.dg/pr105250.c
index 665dd95d8cb..4683e0e63a2 100644
--- a/gcc/testsuite/gcc.dg/pr105250.c
+++ b/gcc/testsuite/gcc.dg/pr105250.c
@@ -1,5 +1,6 @@
 /* { dg-do compile } */
 /* { dg-options "-w -Wno-psabi -O2" } */
+/* { dg-skip-if "PR105266" { powerpc*-*-* s390*-*-* } } */

 typedef int __attribute__((__vector_size__(4))) T;
 typedef int __attribute__((__vector_size__(8))) U;
--
2.27.0


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] testsuite: Skip pr105250.c for powerpc and s390 [PR105266]
  2022-04-14  3:10 [PATCH] testsuite: Skip pr105250.c for powerpc and s390 [PR105266] Kewen.Lin
@ 2022-04-14  6:05 ` Andreas Krebbel
  2022-04-15 17:36 ` Segher Boessenkool
  1 sibling, 0 replies; 3+ messages in thread
From: Andreas Krebbel @ 2022-04-14  6:05 UTC (permalink / raw)
  To: Kewen.Lin, GCC Patches; +Cc: Segher Boessenkool, Richard Biener

On 4/14/22 05:10, Kewen.Lin wrote:
> Hi,
> 
> The test case pr105250.c is like its related pr105140.c, which
> suffers the error with message like "{AltiVec,vector} argument
> passed to unprototyped" on powerpc and s390.  So like commits
> r12-8025 and r12-8039, this fix is to add the dg-skip-if for
> powerpc*-*-* and s390*-*-*.
> 
> Tested on powerpc64le-linux-gnu P9 and it should work on s390
> as its similar PR105147.
> 
> Is it ok for trunk?
> 
> BR,
> Kewen
> -----
> 
> gcc/testsuite/ChangeLog:
> 
> 	PR testsuite/105266
> 	* gcc.dg/pr105250.c: Skip for powerpc*-*-* and s390*-*-*.

Ok for s390. Thanks!

Andreas

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] testsuite: Skip pr105250.c for powerpc and s390 [PR105266]
  2022-04-14  3:10 [PATCH] testsuite: Skip pr105250.c for powerpc and s390 [PR105266] Kewen.Lin
  2022-04-14  6:05 ` Andreas Krebbel
@ 2022-04-15 17:36 ` Segher Boessenkool
  1 sibling, 0 replies; 3+ messages in thread
From: Segher Boessenkool @ 2022-04-15 17:36 UTC (permalink / raw)
  To: Kewen.Lin; +Cc: GCC Patches, Richard Biener, krebbel

On Thu, Apr 14, 2022 at 11:10:43AM +0800, Kewen.Lin wrote:
> Hi,
> 
> The test case pr105250.c is like its related pr105140.c, which
> suffers the error with message like "{AltiVec,vector} argument
> passed to unprototyped" on powerpc and s390.  So like commits
> r12-8025 and r12-8039, this fix is to add the dg-skip-if for
> powerpc*-*-* and s390*-*-*.
> 
> Tested on powerpc64le-linux-gnu P9 and it should work on s390
> as its similar PR105147.
> 
> Is it ok for trunk?

Yes.  Thanks!


Segher

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-04-15 17:37 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-14  3:10 [PATCH] testsuite: Skip pr105250.c for powerpc and s390 [PR105266] Kewen.Lin
2022-04-14  6:05 ` Andreas Krebbel
2022-04-15 17:36 ` Segher Boessenkool

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).