Commit ba006834 by Richard Sandiford Committed by Richard Sandiford

20020426-2.c: Add the fpic requirement to the PIC dg-options rather than to the whole test.

gcc/testsuite/
	* gcc.dg/20020426-2.c: Add the fpic requirement to the PIC
	dg-options rather than to the whole test.

From-SVN: r122979
parent 43bc306a
2007-03-16 Richard Sandiford <richard@codesourcery.com>
* gcc.dg/20020426-2.c: Add the fpic requirement to the PIC
dg-options rather than to the whole test.
2007-03-16 Alexandre Oliva <aoliva@redhat.com>
PR debug/29906
......@@ -2,8 +2,7 @@
Distilled from zlib sources. */
/* { dg-do run } */
/* { dg-options "-O2" } */
/* { dg-options "-O2 -frename-registers -fomit-frame-pointer -fPIC -mtune=i686" { target { { i?86-*-* x86_64-*-* } && ilp32 } } } */
/* { dg-require-effective-target fpic } */
/* { dg-options "-O2 -frename-registers -fomit-frame-pointer -fPIC -mtune=i686" { target { { i?86-*-* x86_64-*-* } && { ilp32 && fpic } } } } */
/* { dg-bogus "\[Uu\]nresolved symbol .(_GLOBAL_OFFSET_TABLE_|\[_.A-Za-z\]\[_.0-9A-Za-z\]*@(PLT|GOT|GOTOFF))" "PIC unsupported" { xfail *-*-netware* } 0 } */
extern void exit (int);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment