Re: Fix sreal::shift add to_double conversion

2014-12-08 Thread Richard Biener
On Thu, Dec 4, 2014 at 9:06 PM, Jan Hubicka wrote: >> On December 4, 2014 7:00:12 PM CET, Jan Hubicka wrote: >> >Hi, >> >this patch fixes implementation of shift in sreal.h that ICEs on 0 >> >value. >> >Also the comment is copied from shift_right and does not make sense for >> >sreal.h. >> > >> >

Re: Fix sreal::shift add to_double conversion

2014-12-04 Thread Jan Hubicka
> On December 4, 2014 7:00:12 PM CET, Jan Hubicka wrote: > >Hi, > >this patch fixes implementation of shift in sreal.h that ICEs on 0 > >value. > >Also the comment is copied from shift_right and does not make sense for > >sreal.h. > > > >The to_double conversion is useful for debug output: Most of

Re: Fix sreal::shift add to_double conversion

2014-12-04 Thread Richard Biener
On December 4, 2014 7:00:12 PM CET, Jan Hubicka wrote: >Hi, >this patch fixes implementation of shift in sreal.h that ICEs on 0 >value. >Also the comment is copied from shift_right and does not make sense for >sreal.h. > >The to_double conversion is useful for debug output: Most of inliner >data i

Fix sreal::shift add to_double conversion

2014-12-04 Thread Jan Hubicka
Hi, this patch fixes implementation of shift in sreal.h that ICEs on 0 value. Also the comment is copied from shift_right and does not make sense for sreal.h. The to_double conversion is useful for debug output: Most of inliner data is now output as integer that does not make much sense. Bootstra