From: John David Anglin Date: Thu, 7 Aug 2014 18:22:47 +0000 (+0000) Subject: pr60655-1.c: Don't add -fdata-sections option on 32-bit hppa-hpux. X-Git-Tag: releases/gcc-5.1.0~5601 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=249a8c6c1f17888374883571de073c6ed69b5fb7;p=thirdparty%2Fgcc.git 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 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index a484b048eb45..854d3fd535f9 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 6f84f6e4ea04..1e1e460739ac 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;