------- Comment #5 from rguenth at gcc dot gnu dot org 2009-04-06 11:14 -------
For cris-axis-elf we do not fold
one_1 = 1.0e+0;
oneL_2 = 1.0e+0;
__builtin_sincos (1.0e+0, &s, &c);
to a constant because __builtin_sincos did not get transformed to
__builtin_cexpi.
We fold it later via the fold-all-builtins pass but nothing promotes
memory to registers after that pass with -O1. I have a patch that should
fix this.
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |rguenth at gcc dot gnu dot
|dot org |org
Status|NEW |ASSIGNED
Keywords| |missed-optimization
Last reconfirmed|2009-04-05 22:00:23 |2009-04-06 11:14:36
date| |
Target Milestone|--- |4.5.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39643