Re: getting the right boolean type

2017-11-09 Thread Andrew MacLeod
On 11/09/2017 10:29 AM, Richard Biener wrote: On Thu, Nov 9, 2017 at 4:24 PM, Andrew MacLeod wrote: On 11/09/2017 10:16 AM, Richard Biener wrote: On Thu, Nov 9, 2017 at 3:44 PM, Andrew MacLeod wrote: I'm a little confused. In gimple I need to do a comparison between 2 values, and I create a

Re: getting the right boolean type

2017-11-09 Thread Janne Blomqvist
On Thu, Nov 9, 2017 at 4:44 PM, Andrew MacLeod wrote: > I'm a little confused. In gimple I need to do a comparison between 2 > values, and I create a boolean_type_node result. > I then combine it with an existing condition, but fortran is crapping out on > me because the boolean_type I created is

Re: getting the right boolean type

2017-11-09 Thread Richard Biener
On Thu, Nov 9, 2017 at 4:24 PM, Andrew MacLeod wrote: > On 11/09/2017 10:16 AM, Richard Biener wrote: >> >> On Thu, Nov 9, 2017 at 3:44 PM, Andrew MacLeod >> wrote: >>> >>> I'm a little confused. In gimple I need to do a comparison between 2 >>> values, and I create a boolean_type_node result. >

Re: getting the right boolean type

2017-11-09 Thread Andrew MacLeod
On 11/09/2017 10:16 AM, Richard Biener wrote: On Thu, Nov 9, 2017 at 3:44 PM, Andrew MacLeod wrote: I'm a little confused. In gimple I need to do a comparison between 2 values, and I create a boolean_type_node result. I then combine it with an existing condition, but fortran is crapping out on

Re: getting the right boolean type

2017-11-09 Thread Richard Biener
On Thu, Nov 9, 2017 at 3:44 PM, Andrew MacLeod wrote: > I'm a little confused. In gimple I need to do a comparison between 2 > values, and I create a boolean_type_node result. > I then combine it with an existing condition, but fortran is crapping out on > me because the boolean_type I created is

getting the right boolean type

2017-11-09 Thread Andrew MacLeod
I'm a little confused. In gimple I need to do a comparison between 2 values, and I create a boolean_type_node result. I then combine it with an existing condition, but fortran is crapping out on me because the boolean_type I created is not compatible with the boolean type is has already created