* Fix PR 25443
@ 2007-01-15 20:49 Dale Johannesen
2007-01-15 22:03 ` Janis Johnson
0 siblings, 1 reply; 2+ messages in thread
From: Dale Johannesen @ 2007-01-15 20:49 UTC (permalink / raw)
To: gcc-patches@gcc.gnu.org Patches; +Cc: Dale Johannesen
This test doesn't pass with -fpic/-fPIC, for good reasons explained
in the PR.
Patch disables the test when those flags are on. OK?
2007-01-15 Dale Johannesen <dalej@apple.com>
* gcc.dg/tree-ssa/loop-3.c: Disable with -fpic or -fPIC.
Index: gcc/testsuite/gcc.dg/tree-ssa/loop-3.c
===================================================================
--- gcc/testsuite/gcc.dg/tree-ssa/loop-3.c (revision 120080)
+++ gcc/testsuite/gcc.dg/tree-ssa/loop-3.c (working copy)
@@ -3,7 +3,8 @@
assume something about memory addressing modes. */
/* { dg-do compile { target i?86-*-* x86_64-*-* } } */
-/* { dg-options "-O1 -fdump-tree-optimized" } */
+/* { dg-skip-if "" { i?86-*-* x86_64-*-* } { "-fpic" "-fPIC" }
{ "" } } */
+/* { dg-options "-O1 -fno-pic -fno-PIC -fdump-tree-optimized" } */
int arr_base[100];
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Fix PR 25443
2007-01-15 20:49 Fix PR 25443 Dale Johannesen
@ 2007-01-15 22:03 ` Janis Johnson
0 siblings, 0 replies; 2+ messages in thread
From: Janis Johnson @ 2007-01-15 22:03 UTC (permalink / raw)
To: Dale Johannesen; +Cc: gcc-patches@gcc.gnu.org Patches
On Mon, Jan 15, 2007 at 12:48:45PM -0800, Dale Johannesen wrote:
> This test doesn't pass with -fpic/-fPIC, for good reasons explained
> in the PR.
> Patch disables the test when those flags are on. OK?
>
>
> 2007-01-15 Dale Johannesen <dalej@apple.com>
>
> * gcc.dg/tree-ssa/loop-3.c: Disable with -fpic or -fPIC.
Yes, this is OK.
Please add "testsuite" or "TESTSUITE" to the subject line for patches
to the testsuite, otherwise I'm not likely to notice them if I'm in a
hurry.
Janis
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-01-15 22:03 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-01-15 20:49 Fix PR 25443 Dale Johannesen
2007-01-15 22:03 ` Janis Johnson
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).