* [patch, testsuite] Obvious patch for gcc.dg/pr56396.c
@ 2013-03-01 15:57 Steve Ellcey
2013-03-01 16:03 ` Jakub Jelinek
0 siblings, 1 reply; 2+ messages in thread
From: Steve Ellcey @ 2013-03-01 15:57 UTC (permalink / raw)
To: gcc-patches; +Cc: jakub, rguenther
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.
Steve Ellcey
sellcey@imgtec.com
2013-03-01 Steve Ellcey <sellcey@mips.com>
* gcc.dg/pr56396.c: Require pic support.
diff --git a/gcc/testsuite/gcc.dg/pr56396.c b/gcc/testsuite/gcc.dg/pr56396.c
index d2ec8fa..160545b 100644
--- 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; };
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [patch, testsuite] Obvious patch for gcc.dg/pr56396.c
2013-03-01 15:57 [patch, testsuite] Obvious patch for gcc.dg/pr56396.c Steve Ellcey
@ 2013-03-01 16:03 ` Jakub Jelinek
0 siblings, 0 replies; 2+ messages in thread
From: Jakub Jelinek @ 2013-03-01 16:03 UTC (permalink / raw)
To: Steve Ellcey; +Cc: gcc-patches, rguenther
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-03-01 16:03 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-03-01 15:57 [patch, testsuite] Obvious patch for gcc.dg/pr56396.c Steve Ellcey
2013-03-01 16:03 ` Jakub Jelinek
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).