pr49294.c (dg-options): Add -fno-common to options on hppa*-*-hpux*.
authorJohn David Anglin <dave.anglin@nrc-cnrc.gc.ca>
Mon, 27 Jun 2011 03:11:08 +0000 (03:11 +0000)
committerJohn David Anglin <danglin@gcc.gnu.org>
Mon, 27 Jun 2011 03:11:08 +0000 (03:11 +0000)
* gcc.dg/debug/pr49294.c (dg-options): Add -fno-common to options on
hppa*-*-hpux*.

From-SVN: r175419

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/debug/pr49294.c

index 1b29f6e6f09cd5e73a6e553a13c79444c654209a..ccd5b687ab70cb3ebc45143d3a12bc4ee4634e1c 100644 (file)
@@ -1,3 +1,8 @@
+2011-06-26  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
+
+       * gcc.dg/debug/pr49294.c (dg-options): Add -fno-common to options on
+       hppa*-*-hpux*.
+
 2011-06-26  Jason Merrill  <jason@redhat.com>
 
        * g++.dg/cpp0x/constexpr-cleanup.C: Tweak error message.
index e4869e079e9858ac1ad5a75280773a16f5ef129d..86b53bd565ba8befef7e99ac6a7ea4947bd5b4f3 100644 (file)
@@ -1,5 +1,6 @@
 /* PR debug/49294 */
 /* { dg-do compile } */
+/* { dg-options "-fno-common" { target hppa*-*-hpux* } } */
 
 typedef __attribute__ ((vector_size ((8) * sizeof (short)))) short V;