Re: [patch gimplify]: Make sure comparison using boolean-type after gimplification

2011-06-06 Thread Diego Novillo
On Thu, May 26, 2011 at 07:02, Richard Guenther richard.guent...@gmail.com wrote:  81764   dnovillo       {  81764   dnovillo         if (TREE_CODE (type) == BOOLEAN_TYPE)  81764   dnovillo           {  81764   dnovillo             arg0 = copy_node (arg0);  81764   dnovillo            

[patch gimplify]: Make sure comparison using boolean-type after gimplification

2011-05-26 Thread Kai Tietz
Hello, this patch ensures that after gimplification also comparison expressions using FE's boolean_type_node. As we need to deal here with C/C++'s (obj-c/c++ and java's), Ada's, and Fortran's specific boolean types, this patch alters some checks in tree-cfg for Ada's sake, and we need to deal

Re: [patch gimplify]: Make sure comparison using boolean-type after gimplification

2011-05-26 Thread Richard Guenther
On Thu, May 26, 2011 at 12:20 PM, Kai Tietz kti...@redhat.com wrote: Hello, this patch ensures that after gimplification also comparison expressions using FE's boolean_type_node.  As we need to deal here with C/C++'s (obj-c/c++ and java's), Ada's, and Fortran's specific boolean types, this

Re: [patch gimplify]: Make sure comparison using boolean-type after gimplification

2011-05-26 Thread Richard Guenther
On Thu, May 26, 2011 at 12:46 PM, Richard Guenther richard.guent...@gmail.com wrote: On Thu, May 26, 2011 at 12:20 PM, Kai Tietz kti...@redhat.com wrote: Hello, this patch ensures that after gimplification also comparison expressions using FE's boolean_type_node.  As we need to deal here

Re: [patch gimplify]: Make sure comparison using boolean-type after gimplification

2011-05-26 Thread Richard Guenther
On Thu, May 26, 2011 at 12:46 PM, Richard Guenther richard.guent...@gmail.com wrote: On Thu, May 26, 2011 at 12:20 PM, Kai Tietz kti...@redhat.com wrote: Hello, this patch ensures that after gimplification also comparison expressions using FE's boolean_type_node.  As we need to deal here

Re: [patch gimplify]: Make sure comparison using boolean-type after gimplification

2011-05-26 Thread Kai Tietz
2011/5/26 Richard Guenther richard.guent...@gmail.com: On Thu, May 26, 2011 at 12:20 PM, Kai Tietz kti...@redhat.com wrote: Hello, this patch ensures that after gimplification also comparison expressions using FE's boolean_type_node.  As we need to deal here with C/C++'s (obj-c/c++ and

Re: [patch gimplify]: Make sure comparison using boolean-type after gimplification

2011-05-26 Thread Richard Guenther
On Thu, May 26, 2011 at 1:05 PM, Kai Tietz ktiet...@googlemail.com wrote: 2011/5/26 Richard Guenther richard.guent...@gmail.com: On Thu, May 26, 2011 at 12:20 PM, Kai Tietz kti...@redhat.com wrote: Hello, this patch ensures that after gimplification also comparison expressions using FE's

Re: [patch gimplify]: Make sure comparison using boolean-type after gimplification

2011-05-26 Thread Richard Guenther
On Thu, May 26, 2011 at 1:11 PM, Kai Tietz ktiet...@googlemail.com wrote: 2011/5/26 Richard Guenther richard.guent...@gmail.com: On Thu, May 26, 2011 at 12:46 PM, Richard Guenther richard.guent...@gmail.com wrote: On Thu, May 26, 2011 at 12:20 PM, Kai Tietz kti...@redhat.com wrote: Hello,

Re: [patch gimplify]: Make sure comparison using boolean-type after gimplification

2011-05-26 Thread Kai Tietz
2011/5/26 Richard Guenther richard.guent...@gmail.com: On Thu, May 26, 2011 at 1:11 PM, Kai Tietz ktiet...@googlemail.com wrote: 2011/5/26 Richard Guenther richard.guent...@gmail.com: On Thu, May 26, 2011 at 12:46 PM, Richard Guenther richard.guent...@gmail.com wrote: On Thu, May 26, 2011 at

Re: [patch gimplify]: Make sure comparison using boolean-type after gimplification

2011-05-26 Thread Richard Guenther
On Thu, May 26, 2011 at 1:20 PM, Kai Tietz ktiet...@googlemail.com wrote: 2011/5/26 Richard Guenther richard.guent...@gmail.com: On Thu, May 26, 2011 at 1:11 PM, Kai Tietz ktiet...@googlemail.com wrote: 2011/5/26 Richard Guenther richard.guent...@gmail.com: On Thu, May 26, 2011 at 12:46 PM,

Re: [patch gimplify]: Make sure comparison using boolean-type after gimplification

2011-05-26 Thread Kai Tietz
2011/5/26 Richard Guenther richard.guent...@gmail.com: On Thu, May 26, 2011 at 1:20 PM, Kai Tietz ktiet...@googlemail.com wrote: 2011/5/26 Richard Guenther richard.guent...@gmail.com: On Thu, May 26, 2011 at 1:11 PM, Kai Tietz ktiet...@googlemail.com wrote: 2011/5/26 Richard Guenther

Re: [patch gimplify]: Make sure comparison using boolean-type after gimplification

2011-05-26 Thread Kai Tietz
2011/5/26 Richard Guenther richard.guent...@gmail.com: On Thu, May 26, 2011 at 1:28 PM, Kai Tietz ktiet...@googlemail.com wrote: 2011/5/26 Richard Guenther richard.guent...@gmail.com: On Thu, May 26, 2011 at 1:20 PM, Kai Tietz ktiet...@googlemail.com wrote: 2011/5/26 Richard Guenther