From a7f02c2d27203d8e3581bfdc19f86f863ebf0d80 Mon Sep 17 00:00:00 2001 From: Steve Ellcey Date: Tue, 7 Nov 2006 19:14:27 +0000 Subject: [PATCH] re PR other/25028 (TImode-to-floating conversions broken) PR other/25028 * config/ia64/t-hpux (LIB1ASMFUNCS): Filter out _fixtfdi, _fixunstfdi, and _floatditf * gcc.dg/torture/fp-int-convert-float128-timode.c: Do not XFAIL on HP-UX. From-SVN: r118565 --- gcc/ChangeLog | 6 ++++++ gcc/config/ia64/t-hpux | 6 ++++++ gcc/testsuite/ChangeLog | 6 ++++++ .../gcc.dg/torture/fp-int-convert-float128-timode.c | 2 +- 4 files changed, 19 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 833078d8990..1d01bd5c484 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2006-11-07 Steve Ellcey + + PR other/25028 + * config/ia64/t-hpux (LIB1ASMFUNCS): Filter out _fixtfdi, + _fixunstfdi, and _floatditf + 2006-11-06 Anatoly Sokolov * config/avr/avr-protos.h (mask_one_bit_p, const_int_pow2_p): Remove diff --git a/gcc/config/ia64/t-hpux b/gcc/config/ia64/t-hpux index 7d294d17457..b925c73a512 100644 --- a/gcc/config/ia64/t-hpux +++ b/gcc/config/ia64/t-hpux @@ -7,6 +7,12 @@ MULTILIB_OPTIONS = milp32/mlp64 MULTILIB_DIRNAMES = hpux32 hpux64 MULTILIB_MATCHES = +# On HP-UX we do not want _fixtfdi, _fixunstfdi, or _floatditf from +# LIB1ASMSRC. These functions map the 128 bit conversion function names +# to 80 bit conversions and were done for Linux backwards compatibility. + +LIB1ASMFUNCS := $(filter-out _fixtfdi _fixunstfdi _floatditf,$(LIB1ASMFUNCS)) + # Support routines for HP-UX 128 bit floats. LIB2FUNCS_EXTRA=quadlib.c $(srcdir)/config/floatunsitf.c diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 74f54970121..22e43d0f23a 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2006-11-07 Steve Ellcey + + PR other/25028 + * gcc.dg/torture/fp-int-convert-float128-timode.c: Do not XFAIL + on HP-UX. + 2006-11-07 Paul Thomas PR fortran/29539 diff --git a/gcc/testsuite/gcc.dg/torture/fp-int-convert-float128-timode.c b/gcc/testsuite/gcc.dg/torture/fp-int-convert-float128-timode.c index 7d090e16861..7693d17d316 100644 --- a/gcc/testsuite/gcc.dg/torture/fp-int-convert-float128-timode.c +++ b/gcc/testsuite/gcc.dg/torture/fp-int-convert-float128-timode.c @@ -2,7 +2,7 @@ /* Origin: Joseph Myers */ /* { dg-do run { target { ia64-*-* || { { i?86-*-* x86_64-*-*} && lp64 } } } } */ /* { dg-xfail-if "" { i?86-*-* x86_64-*-* } { "*" } { "" } } */ -/* { dg-xfail-if "" { ia64-*-* && lp64 } { "*" } { "" } } */ +/* { dg-xfail-if "" { ia64-*-linux* } { "*" } { "" } } */ /* { dg-options "" } */ #include "fp-int-convert.h" -- 2.30.2