* [PATCH, testsuite]: Disable gcc.target/i386/volatile-2.c for PIC targets
@ 2010-08-31 18:01 Uros Bizjak
0 siblings, 0 replies; only message in thread
From: Uros Bizjak @ 2010-08-31 18:01 UTC (permalink / raw)
To: gcc-patches
Hello!
Asm scan patterns expect direct memory references, so the test is not
appropriate for PIC targets.
2010-08-31 Uros Bizjak <ubizjak@gmail.com>
* gcc.target/i386/volatile-2.c: Require nonpic target.
Committed to mainline SVN.
Uros.
Index: gcc.target/i386/volatile-2.c
===================================================================
--- gcc.target/i386/volatile-2.c (revision 163678)
+++ gcc.target/i386/volatile-2.c (working copy)
@@ -1,4 +1,5 @@
/* { dg-do compile } */
+/* { dg-require-effective-target nonpic } */
/* { dg-options "-O2" } */
/* Check volatiles are written, read or not re-read consistently */
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2010-08-31 17:36 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-08-31 18:01 [PATCH, testsuite]: Disable gcc.target/i386/volatile-2.c for PIC targets Uros Bizjak
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).