summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/pr17055-1.c
diff options
context:
space:
mode:
authordanglin <danglin@138bc75d-0d04-0410-961f-82ee72b054a4>2004-12-25 17:01:52 +0000
committerdanglin <danglin@138bc75d-0d04-0410-961f-82ee72b054a4>2004-12-25 17:01:52 +0000
commit8a080a27524d9599c3eb4c45e662aa4dbc95a1a8 (patch)
treea64e30527c29f21469aff0ce3a8a8e8bd8b4a08f /gcc/testsuite/gcc.dg/pr17055-1.c
parent2ce936c83e3971e6a43076392d2fdc02f40075ec (diff)
downloadgcc-8a080a27524d9599c3eb4c45e662aa4dbc95a1a8.tar.gz
* gcc.dg/pr17055-1.c (dg-options): Add -fno-common to options on
hppa*-*-hpux*. * gcc.dg/pr17957.c (dg-options): Likewise. * gcc.dg/struct-ret-1.c: Add prototype for abort. * gcc.dg/tree-ssa/asm-2.c, gcc.dg/tree-ssa/asm-3.c: Use register 1 instead of 0 on __hppa__. * gcc.dg/tree-ssa/loop-1.c (dg-final): Check for five instances of "foo,%r" on hppa*-*-*. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@92606 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/testsuite/gcc.dg/pr17055-1.c')
-rw-r--r--gcc/testsuite/gcc.dg/pr17055-1.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.dg/pr17055-1.c b/gcc/testsuite/gcc.dg/pr17055-1.c
index 4c30973c165..faac48bc331 100644
--- a/gcc/testsuite/gcc.dg/pr17055-1.c
+++ b/gcc/testsuite/gcc.dg/pr17055-1.c
@@ -1,6 +1,7 @@
/* PR middle-end/17055. */
/* { dg-do compile } */
/* { dg-options "-O2 -ffast-math" } */
+/* { dg-options "-O2 -ffast-math -fno-common" { target hppa*-*-hpux* } } */
/* This test used to abort, beacuse we do an "integer" fold to zero, i.e.
x - x = (T)0 where T is the type of x. Unfortunately, fold_convert