Less work in invert_truthvalue

James A. Morrison ja2morri@csclub.uwaterloo.ca
Wed Feb 16 15:12:00 GMT 2005


Richard Henderson <rth@redhat.com> writes:

> On Tue, Feb 15, 2005 at 04:35:34PM -0500, James A. Morrison wrote:
> > -      return fold_convert (type,
> > -			   build_int_cst (NULL_TREE, integer_zerop (arg)));
> > +      return build_int_cst (type, integer_zerop (arg));
> 
> Rather, constant_boolean_node.
> 
> 
> r~
> 

 How about the attached then.  Bootstrapped and regtested on powerpc-linux,
all languages, except ada and java.  Ok for mainline?

-- 
Thanks,
Jim

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: no_fold_convert-2.patch
Type: text/x-patch
Size: 746 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20050216/07141083/attachment.bin>


More information about the Gcc-patches mailing list