aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJohn David Anglin <danglin@gcc.gnu.org>2014-08-07 18:22:47 +0000
committerJohn David Anglin <danglin@gcc.gnu.org>2014-08-07 18:22:47 +0000
commit249a8c6c1f17888374883571de073c6ed69b5fb7 (patch)
tree537877325f17a71fe05a7f05e34161482f4c9039 /gcc
parent4303c581960b6069e8893d88da5461d9286c37e8 (diff)
downloadgcc-249a8c6c1f17888374883571de073c6ed69b5fb7.zip
gcc-249a8c6c1f17888374883571de073c6ed69b5fb7.tar.gz
gcc-249a8c6c1f17888374883571de073c6ed69b5fb7.tar.bz2
pr60655-1.c: Don't add -fdata-sections option on 32-bit hppa-hpux.
* gcc.c-torture/compile/pr60655-1.c: Don't add -fdata-sections option on 32-bit hppa-hpux. From-SVN: r213720
Diffstat (limited to 'gcc')
-rw-r--r--gcc/testsuite/ChangeLog3
-rw-r--r--gcc/testsuite/gcc.c-torture/compile/pr60655-1.c2
2 files changed, 4 insertions, 1 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index a484b04..854d3fd 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,5 +1,8 @@
2014-08-07 John David Anglin <danglin@gcc.gnu.org>
+ * gcc.c-torture/compile/pr60655-1.c: Don't add -fdata-sections option
+ on 32-bit hppa-hpux.
+
* gcc.dg/pr57233.c: Add -fno-common option on hppa*-*-hpux*.
* c-c++-common/pr50459.c: Likewise.
diff --git a/gcc/testsuite/gcc.c-torture/compile/pr60655-1.c b/gcc/testsuite/gcc.c-torture/compile/pr60655-1.c
index 6f84f6e..1e1e460 100644
--- a/gcc/testsuite/gcc.c-torture/compile/pr60655-1.c
+++ b/gcc/testsuite/gcc.c-torture/compile/pr60655-1.c
@@ -1,4 +1,4 @@
-/* { dg-options "-fdata-sections" } */
+/* { dg-options "-fdata-sections" { target { ! { { hppa*-*-hpux* } && { ! lp64 } } } } } */
typedef unsigned char unit;
typedef unit *unitptr;