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 1/5][testsuite] Use INT_MAX instead of 0x7fffffff


On Tue, Jul 24, 2007 at 11:27:22PM +0200, Richard Guenther wrote:
> On Tue, 24 Jul 2007, Janis Johnson wrote:
> 
> > The first and third are OK but I'm not sure about the second.
> > Richard Guenther, do the changes to the additions in vrp29.c
> > require additional casts?
> 
> I think they are fine.  INT_MAX + 1U is promoted to unsigned arithmetic.
> Rask, did you verify we still constant fold the constant operations?
> (it would be a bug if not, of course).

   I'm not sure exactly which dump file would show that, but I diffed the
output of -fdump-tree-all with and without the patch, and the only change
was in the line numbers.

-- 
Rask Ingemann Lambertsen


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