This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Patch, testsuite] skip gcc.dg/tree-ssa/ssa-store-ccp-3.c on hppa64


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;


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]