On Fri, Jul 22, 2011 at 2:13 AM, Richard Guenther <rguent...@suse.de> wrote: > On Fri, 22 Jul 2011, Richard Guenther wrote: > >> On Thu, 21 Jul 2011, Joseph S. Myers wrote: >> >> > On Thu, 21 Jul 2011, Richard Guenther wrote: >> > >> > > Patch also handling wider modes and not starting with SImode but >> > > the mode of int: >> > >> > Use of target int for anything not about C ABIs is certainly wrong. This >> > might be about what operations the target does efficiently, or what >> > functions are present in libgcc (both of which would be functions of >> > machine modes), but it's not about the choice of C int. >> >> Ok. Given rths last suggestion I'm testing the following which >> checks all integer modes (but never will widen - optabs.c will do >> that if it turns out to be profitable). > > Err, I should refresh the patch before sending it ... here it goes. > > Richard. > > 2011-07-22 Richard Guenther <rguent...@suse.de> > > PR tree-optimization/49715 > * tree-vrp.c: Include expr.h and optabs.h. > (simplify_float_conversion_using_ranges): New function. > (simplify_stmt_using_ranges): Call it. > * Makefile.in (tree-vrp.o): Add $(EXPR_H) and $(OPTABS_H) dependencies. > * optabs.c (can_float_p): Export. > * optabs.h (can_float_p): Declare. > > * gcc.target/i386/pr49715-1.c: New testcase. > * gcc.target/i386/pr49715-2.c: Likewise. >
I think this caused: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49840 -- H.J.