[patch, testsuite] Obvious patch for gcc.dg/pr56396.c

Jakub Jelinek jakub@redhat.com
Fri Mar 1 16:03:00 GMT 2013


On Fri, Mar 01, 2013 at 07:57:12AM -0800, Steve Ellcey  wrote:
> I am going to check in this testsuite patch as an obvious fix.  We should make
> sure a platform supports PIC before compiling with the -fpic flag.
> 
> 2013-03-01  Steve Ellcey  <sellcey@mips.com>
> 
> 	* gcc.dg/pr56396.c: Require pic support.

Ok, thanks.

> --- a/gcc/testsuite/gcc.dg/pr56396.c
> +++ b/gcc/testsuite/gcc.dg/pr56396.c
> @@ -1,5 +1,6 @@
>  /* PR tree-optimization/56396 */
>  /* { dg-do compile } */
> +/* { dg-require-effective-target fpic } */
>  /* { dg-options "-O2 -fpic -g" } */
>  
>  struct S { char *s; int z; };

	Jakub



More information about the Gcc-patches mailing list