From 249a8c6c1f17888374883571de073c6ed69b5fb7 Mon Sep 17 00:00:00 2001 From: John David Anglin Date: Thu, 7 Aug 2014 18:22:47 +0000 Subject: [PATCH] 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 --- gcc/testsuite/ChangeLog | 3 +++ gcc/testsuite/gcc.c-torture/compile/pr60655-1.c | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index a484b048eb4..854d3fd535f 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,5 +1,8 @@ 2014-08-07 John David Anglin + * 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 6f84f6e4ea0..1e1e460739a 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; -- 2.30.2