public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [committed][gcc][patch] Require sse for testcase on i686.
@ 2018-07-06 10:46 Tamar Christina
  2018-07-07  7:50 ` Jakub Jelinek
  0 siblings, 1 reply; 4+ messages in thread
From: Tamar Christina @ 2018-07-06 10:46 UTC (permalink / raw)
  To: gcc-patches; +Cc: nd, christophe.lyon, law, rguenther, ian

[-- Attachment #1: Type: text/plain, Size: 396 bytes --]

Hi All,

This fixes an ABI warning generated on i686-pc-linux-gnu when using
`vector_size` with no sse enabled explicitly.

Regtested single test on x86_64-pc-linux-gnu with -m32 and no issues.

Committed under the GCC obvious rule.

Thanks,
Tamar

gcc/testsuite/
2018-07-06  Tamar Christina  <tamar.christina@arm.com>

	PR target/84711
	* gcc.dg/vect/pr84711.c: Add -msse for i686 targets.

-- 

[-- Attachment #2: rb9606.patch --]
[-- Type: text/x-diff, Size: 570 bytes --]

diff --git a/gcc/testsuite/gcc.dg/vect/pr84711.c b/gcc/testsuite/gcc.dg/vect/pr84711.c
index dbe61bef0dc35cdbcacf7a9217951888b64a99f1..87763aaabed22a043680223b466b3f43ca70744e 100644
--- a/gcc/testsuite/gcc.dg/vect/pr84711.c
+++ b/gcc/testsuite/gcc.dg/vect/pr84711.c
@@ -1,6 +1,8 @@
 /* { dg-do compile } */
 /* { dg-require-effective-target vect_int } */
+/* { dg-require-effective-target sse { target i386*-*-* } } */
 /* { dg-options "-O2" } */
+/* { dg-additional-options "-msse" { target i386*-*-* } } */
 
 typedef int v4si
   __attribute__ ((vector_size (16)));


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

end of thread, other threads:[~2018-07-07 11:14 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-07-06 10:46 [committed][gcc][patch] Require sse for testcase on i686 Tamar Christina
2018-07-07  7:50 ` Jakub Jelinek
2018-07-07 11:07   ` Tamar Christina
2018-07-07 11:14     ` Jakub Jelinek

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