This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[Patch, testsuite] skip gcc.dg/tree-ssa/ssa-store-ccp-3.c on hppa64
- From: <sje at cup dot hp dot com>
- To: dave at hiauly1 dot hia dot nrc dot ca, gcc-patches at gcc dot gnu dot org, janis187 at us dot ibm dot com
- Date: Tue, 18 Nov 2008 14:13:19 -0800
- Subject: [Patch, testsuite] skip gcc.dg/tree-ssa/ssa-store-ccp-3.c on hppa64
- Reply-to: sje at cup dot hp dot com
I would like to skip gcc.dg/tree-ssa/ssa-store-ccp-3.c on hppa64*-*-*
platforms for the same reason it is skipped on darwin platforms.
Both systems set flag_pic by default (defining __PIC__) because they
generate PIC code by default but they don't set flag_shlib by default
because that would inhibit inlining. This causes the test to fail on
these platforms because the test assumes that flag_pic implies flag_shlib.
Tested on hppa64-hp-hpux11.11.
OK for checkin?
2008-11-18 Steve Ellcey <sje@cup.hp.com>
PR testsuite/37326
* gcc.dg/tree-ssa/ssa-store-ccp-3.c: Skip on hppa64-*-*.
Index: gcc.dg/tree-ssa/ssa-store-ccp-3.c
===================================================================
--- gcc.dg/tree-ssa/ssa-store-ccp-3.c (revision 141959)
+++ gcc.dg/tree-ssa/ssa-store-ccp-3.c (working copy)
@@ -1,5 +1,5 @@
/* { dg-do compile } */
-/* { dg-skip-if "" { *-*-darwin* } { "*" } { "" } } */
+/* { dg-skip-if "" { *-*-darwin* hppa64*-*-* } { "*" } { "" } } */
/* { dg-options "-O2 -fno-common -fdump-tree-optimized" } */
const int conststaticvariable;