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]

Re: Some testsuite cleanups (mostly for -fPIC)


On Sun, Nov 27, 2005 at 12:16:45PM -0800, Kean Johnston wrote:
> 	* g++.dg/opt/range-test-1.C: Prevent re-inclusion of system
> 	headers.
> 	* g++.old-deja/g++.law/profile1.C: No longer expect fail on OSR5.
> 	* gcc.c-torture/compile/2000804-1.c: Skip if using -fPIC on X86.

Ok.

> 	* gcc.dg/20020919-1.c: Ditto.

This should pass.  Notice

/* On Darwin -fpic is on by default, so don't use %ebx. */

and it does pass there.

> 	* gcc.dg/assign-warn-3.c: Ditto.

Why in the world do you imagine this should depend on -fpic?

> 	* gcc.dg/tree-ssa/ssa-dce-2.c: Ditto.

Change

static int __attribute__((noinline)) t(int a)

and, for good measure,

void q(void)

> 	* gcc.target/i386/asm-3.c: Ditto.
> 	* gcc.target/i386/clobbers.c: Ditto.

Ok.

> 	* gcc.target/i386/cmov1.c: Ditto.
> 	* gcc.target/i386/mul.c: Ditto.
> 	* gcc.target/i386/ssetype-1.c: Ditto.

Make "magic*" static and we should get "..., magic@GOTOFF(%ebx)",
which will also match the regexp.

> 	* gcc.target/i386/pr21291.c: Ditto.

Someone needs to actually analyze this one.  A brief glance
suggests it ought to pass -- 5 registers required, and there
are 5 available.

> 	* gcc.dg/20040813-1.c: Skip on SVR5 systems.
> 	* gcc.c-torture/execute/builtins/strlen-3.c: Declare variables as
> 	static so the test works with -fPIC mode too. Based on comment in
> 	PR19231 by Pinski.
> 	* gcc.dg/nest.c: No longer fail on SCO systems as it has -pg again.

Ok.


r~


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