Re: [PATCH] Fix PR lto/49302 (corrected)

2011-06-10 Thread Richard Guenther
On Thu, Jun 9, 2011 at 7:34 PM, William J. Schmidt wrote: > Richard, thanks for the comments.  Here's the revised patch for > expanding cabs in gimple. > > Given the direction this pass is taking, should it eventually be renamed > from cse_sincos to something more general? Eventually yes - but na

Re: [PATCH] Fix PR lto/49302

2011-06-09 Thread Richard Guenther
On Wed, Jun 8, 2011 at 6:56 PM, William J. Schmidt wrote: > This patch adds code to the cse_sincos pass to expand builtin cabs (x) > into sqrt (r*r + i*i), where r = realpart(x) and i = imagpart(x).  This > is usually handled by fold_builtin_cabs; however, PR49302 shows a case > where compile flag