]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
* gcc.dg/pr45259.c: Only -fpic depends on fpic support.
authorJanis Johnson <janisjo@codesourcery.com>
Thu, 26 Jul 2012 22:23:33 +0000 (22:23 +0000)
committerJanis Johnson <janis@gcc.gnu.org>
Thu, 26 Jul 2012 22:23:33 +0000 (22:23 +0000)
From-SVN: r189899

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/pr45259.c

index 320d4efd70d6abc75ad15abe000c2804c8ccf88b..6236cc03ee53e7dd996347f88b35f2c69a639dd2 100644 (file)
@@ -1,3 +1,7 @@
+2012-07-26  Janis Johnson  <janisjo@codesourcery.com>
+
+       * gcc.dg/pr45259.c: Only -fpic depends on fpic support.
+
 2012-07-26  Richard Henderson  <rth@redhat.com>
 
        * gcc.dg/attr-hotcold-1.c: New.
index b8dc36503f8ce331d103973b76cae57ccbaf112b..3b8d6bd176db13ffe5a88d714f80e5ce8a11ad24 100644 (file)
@@ -1,6 +1,7 @@
 /* PR debug/45259 */
 /* { dg-do compile } */
-/* { dg-options "-g -O2 -fpic -w" { target fpic } } */
+/* { dg-options "-g -O2 -w -fpic" { target fpic } } */
+/* { dg-options "-g -O2 -w" { target { ! fpic } } } */
 
 struct S { void (*bar) (long); };
 struct T { struct S *t; };