Re: [PATCH] Fix float-cast test (PR testsuite/61319)

2014-05-27 Thread Jakub Jelinek
On Tue, May 27, 2014 at 01:32:03PM +0200, Marek Polacek wrote: > E.g. CentOS 5 doesn't define several macros in limits.h, so define > them conditionally to make the test pass. > > Ok for trunk? > > 2014-05-27 Marek Polacek > > PR testsuite/61319 > * c-c++-common/ubsan/float-cast.h

[PATCH] Fix float-cast test (PR testsuite/61319)

2014-05-27 Thread Marek Polacek
E.g. CentOS 5 doesn't define several macros in limits.h, so define them conditionally to make the test pass. Ok for trunk? 2014-05-27 Marek Polacek PR testsuite/61319 * c-c++-common/ubsan/float-cast.h: Conditionally define LLONG_MAX, LLONG_MIN, and ULLONG_MAX. diff --