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]

Committed, g++.dg/opt/vt1.C: Skip for mmix-*-*. PR target/18488


IMHO there's a need for a dg-require-pic, but in the meantime, this works
(other target triples may be added between the braces).

	PR target/18488
	* g++.dg/opt/vt1.C: Skip for mmix-*-*.

Index: vt1.C
===================================================================
RCS file: /cvs/gcc/gcc/gcc/testsuite/g++.dg/opt/vt1.C,v
retrieving revision 1.2
diff -p -c -r1.2 vt1.C
*** vt1.C	19 Jun 2002 14:45:06 -0000	1.2
--- vt1.C	29 Nov 2004 20:25:25 -0000
***************
*** 1,5 ****
--- 1,6 ----
  // Test whether vtable for S is not put into read-only section.
  // { dg-do compile }
+ // { dg-skip-if "No -fpic" { mmix-*-* } { "*" } { "" } }
  // { dg-options "-O2 -fpic -fno-rtti" }
  // Origin: Jakub Jelinek <jakub@redhat.com>

brgds, H-P


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