Message ID | BLU436-SMTP9546A382BB54D0FD3322C97F70@phx.gbl |
---|---|
State | New |
Headers | show |
On 28.03.15 20:25, John David Anglin wrote: > The libffi.call/float2.c test uses fabsl which was introduced in c99 and isn't available on hppa*-*-hpux*. > In order to use the target selector with dg-run, I need to load target-supports-dg.exp in lib/libffi.exp. > > Tested on hppa2.0w-hp-hpux11.11. Okay for trunk? From the testsuite pov. ok, but I do not have a picture of the trunk check in restrictions regarding the next release. Thanks, Andreas
Hi John, On 29.03.15 22:01, Andreas Tobler wrote: > On 28.03.15 20:25, John David Anglin wrote: >> The libffi.call/float2.c test uses fabsl which was introduced in c99 and isn't available on hppa*-*-hpux*. >> In order to use the target selector with dg-run, I need to load target-supports-dg.exp in lib/libffi.exp. >> >> Tested on hppa2.0w-hp-hpux11.11. Okay for trunk? > > From the testsuite pov. ok, but I do not have a picture of the trunk > check in restrictions regarding the next release. How about to commit now? Andreas
Index: testsuite/lib/libffi.exp =================================================================== --- testsuite/lib/libffi.exp (revision 221726) +++ testsuite/lib/libffi.exp (working copy) @@ -24,6 +24,7 @@ load_lib dg.exp load_lib libgloss.exp load_gcc_lib target-supports.exp +load_gcc_lib target-supports-dg.exp load_gcc_lib target-libpath.exp load_gcc_lib wrapper.exp Index: testsuite/libffi.call/float2.c =================================================================== --- testsuite/libffi.call/float2.c (revision 221726) +++ testsuite/libffi.call/float2.c (working copy) @@ -3,7 +3,7 @@ Limitations: none. PR: none. Originator: From the original ffitest.c */ -/* { dg-do run } */ +/* { dg-do run { target { ! hppa*-*-hpux* } } } */ #include "ffitest.h" #include "float.h"