This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: [Bug target/30315] optimize unsigned-add overflow test on x86 to use cpu flags from addl
- From: "Andrew Pinski" <pinskia at gmail dot com>
- To: gcc-bugzilla at gcc dot gnu dot org
- Cc: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 6 Jun 2007 02:10:36 -0700
- Subject: Re: [Bug target/30315] optimize unsigned-add overflow test on x86 to use cpu flags from addl
- References: <bug-30315-11337@http.gcc.gnu.org/bugzilla/> <20070606081557.28164.qmail@sourceware.org>
And BTW - wrapping is undefined operation.
One for signed integers for unsigned it is actually defined as
wrapping and the reporter used unsigned integers here.
Thanks,
Andrew Pinski