Re: [PATCH] Use CONVERT_EXPR_P and friends in the middle-end

2014-11-03 Thread Richard Biener
On Fri, Oct 31, 2014 at 6:59 PM, Joseph S. Myers wrote: > On Fri, 31 Oct 2014, Richard Biener wrote: > >> This fixes the few places where explicit checks for NOP_EXPR >> or CONVERT_EXPRs crept in. > > The goal really should be to eliminate anything that distinguishes the > two, and then combine th

Re: [PATCH] Use CONVERT_EXPR_P and friends in the middle-end

2014-10-31 Thread Joseph S. Myers
On Fri, 31 Oct 2014, Richard Biener wrote: > This fixes the few places where explicit checks for NOP_EXPR > or CONVERT_EXPRs crept in. The goal really should be to eliminate anything that distinguishes the two, and then combine them (eliminate NOP_EXPR) (as I said in

[PATCH] Use CONVERT_EXPR_P and friends in the middle-end

2014-10-31 Thread Richard Biener
This fixes the few places where explicit checks for NOP_EXPR or CONVERT_EXPRs crept in. A noticable change may be the tree-eh.c one where we previously considered FP NOP_EXPRs trapping if flag_trapping_math ("Any fp arithmetic may trap") but now like FP CONVERT_EXPRs only when honor_nans (but for