On Wed, Sep 3, 2014 at 8:28 AM, Kaz Kojima <kkoj...@rr.iij4u.or.jp> wrote:
> Uros Bizjak <ubiz...@gmail.com> wrote:
>> -/* { dg-options "-mieee" { target sh*-*-* alpha*-*-* } } */
>> +/* { dg-options "-w -mieee" { target sh*-*-* alpha*-*-* } } */
>>  /* { dg-skip-if "No Inf/NaN support" { spu-*-* } "*" "" } */
>>
>> Please use /* { dg-add-options ieee } */ directive here. There is
>> another one possible in pr44683.c.
>
> Thanks for your suggestion.  Here is a take 3 patch.
> I'll take a look at pr44683.c.

Ok.

Thanks,
Richard.

> Regards,
>         kaz
> --
>         * gcc.c-torture/execute/pr39228.c: Use dg-add-options instead
>         of dg-options.  Add "inline" keyword to test functions.
>
> --- ORIG/trunk/gcc/testsuite/gcc.c-torture/execute/pr39228.c    2014-08-26 
> 09:26:20.000000000 +0900
> +++ trunk/gcc/testsuite/gcc.c-torture/execute/pr39228.c 2014-09-03 
> 15:23:15.219917354 +0900
> @@ -1,23 +1,23 @@
> -/* { dg-options "-mieee" { target sh*-*-* alpha*-*-* } } */
> +/* { dg-add-options ieee } */
>  /* { dg-skip-if "No Inf/NaN support" { spu-*-* } "*" "" } */
>
>  extern void abort (void);
>
> -static int __attribute__((always_inline)) testf (float b)
> +static inline int __attribute__((always_inline)) testf (float b)
>  {
>    float c = 1.01f * b;
>
>    return __builtin_isinff (c);
>  }
>
> -static int __attribute__((always_inline)) test (double b)
> +static inline int __attribute__((always_inline)) test (double b)
>  {
>    double c = 1.01 * b;
>
>    return __builtin_isinf (c);
>  }
>
> -static int __attribute__((always_inline)) testl (long double b)
> +static inline int __attribute__((always_inline)) testl (long double b)
>  {
>    long double c = 1.01L * b;
>

Reply via email to