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 PR/19228]: fix testcases when using -fpic/-fPIC


Same as last patch, fix testcase when using -fpic/-fPIC.

Okay for mainline?
Okay for 3.3/3.4 when those branches get dg-skip-if?

		Thanks,
		--Kaveh

2005-01-05  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>

	* gcc.dg/20011119-1.c: Bypass test on x86 when using -fpic/-fPIC.
	
diff -rup orig/egcc-CVS20050104/gcc/testsuite/gcc.dg/20011119-1.c egcc-CVS20050104/gcc/testsuite/gcc.dg/20011119-1.c
--- orig/egcc-CVS20050104/gcc/testsuite/gcc.dg/20011119-1.c	2004-11-17 12:21:44.000000000 -0500
+++ egcc-CVS20050104/gcc/testsuite/gcc.dg/20011119-1.c	2005-01-05 13:53:44.000000000 -0500
@@ -1,6 +1,6 @@
 /* Test for reload failing to eliminate from argp to sp.  */
 /* { dg-do run { target i?86-*-* } } */
-/* { dg-skip-if "" { i?86-*-* } { "-m64" } { "" } } */
+/* { dg-skip-if "" { i?86-*-* } { "-m64" "-fpic" "-fPIC" } { "" } } */
 /* { dg-options "-O2 -fomit-frame-pointer" } */
 
 static int ustrsize (const char *s);


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