This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch,testsuite] Fix PR testsuite/31828


On Sat, 2007-09-29 at 13:45 -0400, John David Anglin wrote:
> The tests gcc.dg/float-range-[3-5].c use a C99 macro FP_INFINITE without
> the c99_runtime check.  In looking at these tests, I realized that the
> use of FP_INFINITE was a likely typo since FP_INFINITE is an integer
> constant.  I believe that the overflow check should be using the float
> INFINITY.
> 
> On non-C99 systems, we can use the builtin __builtin_inff() to define
> INFINITY, so we don't need the c99_runtime check.
> 
> Tested on hppa2.0w-hp-hpux11.11 and hppa64-hp-hpux11.11.  Ok for trunk?

OK.

Janis


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]