[patch] Fix two ABS_EXPR regressions

James A. Morrison ja2morri@csclub.uwaterloo.ca
Tue Jul 19 04:57:00 GMT 2005


Hi,

 This patch fixes two regressions with ABS_EXPRs and wrapv from 3.4.
Bootstrapped and regtested on ia64-linux with no new regressions.  The two
new tests pass now.  The first testcase used to fail with a tree check when
flag_wrapv was specified, the second removed the >= 0 check even though
ABS_EXPR<INT_MIN> = INT_MIN with flag_wrapv.  Ok for mainline?

-- 
Thanks,
Jim

http://www.csclub.uwaterloo.ca/~ja2morri/
http://phython.blogspot.com
http://open.nit.ca/wiki/?page=jim

-------------- next part --------------
A non-text attachment was scrubbed...
Name: fold-abs.0.patch
Type: text/x-patch
Size: 1169 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20050719/886b0bb4/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fold-abs-1.c
Type: text/x-csrc
Size: 166 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20050719/886b0bb4/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fold-abs-2.c
Type: text/x-csrc
Size: 289 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20050719/886b0bb4/attachment-0002.bin>


More information about the Gcc-patches mailing list