Re: [RFH] Move some flag_unsafe_math_optimizations using simplify and match

2015-08-11 Thread Richard Biener
On Fri, Aug 7, 2015 at 10:43 AM, Hurugalawadi, Naveen wrote: > Hi, > > Please find attached the patch "simplify-1.patch" that moves some > "flag_unsafe_math_optimizations" from fold-const.c to simplify and match. > > However, I am facing some issues with cbrt, exp2, pow10 and exp10 functions. > >

Re: [RFH] Move some flag_unsafe_math_optimizations using simplify and match

2015-08-11 Thread Marc Glisse
On Fri, 7 Aug 2015, Hurugalawadi, Naveen wrote: Please find attached the patch "simplify-1.patch" that moves some "flag_unsafe_math_optimizations" from fold-const.c to simplify and match. Some random comments (not a review). First, patches go to gcc-patc...@gcc.gnu.org. /* fold_builtin_log

[RFH] Move some flag_unsafe_math_optimizations using simplify and match

2015-08-07 Thread Hurugalawadi, Naveen
Hi,  Please find attached the patch "simplify-1.patch" that moves some "flag_unsafe_math_optimizations" from fold-const.c to simplify and match. However, I am facing some issues with cbrt, exp2, pow10 and exp10 functions. Please review the patch and let me know whether its the right way to imp