https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70777

--- Comment #4 from rguenther at suse dot de <rguenther at suse dot de> ---
On Mon, 25 Apr 2016, jakub at gcc dot gnu.org wrote:

> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70777
> 
> Jakub Jelinek <jakub at gcc dot gnu.org> changed:
> 
>            What    |Removed                     |Added
> ----------------------------------------------------------------------------
>                  CC|                            |jakub at gcc dot gnu.org
> 
> --- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
> Well, we could also optimize pow (x, 2) to x * x at expansion time.

We did in the past but removed that "feature".  We could also
canonicalize to POWI instead (not losing the fact x * x didn't set
errno, etc.).

Reply via email to