This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/38884] missed FRE with __real and __imag
- From: "rguenth at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 05 Oct 2011 12:47:00 +0000
- Subject: [Bug tree-optimization/38884] missed FRE with __real and __imag
- Auto-submitted: auto-generated
- References: <bug-38884-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38884
Richard Guenther <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |ASSIGNED
Last reconfirmed| |2011-10-05
Ever Confirmed|0 |1
--- Comment #5 from Richard Guenther <rguenth at gcc dot gnu.org> 2011-10-05 12:47:00 UTC ---
Re-confirmed for the 2nd function. The first one is optimized.
struct s { _Complex float i; };
void g(struct s *);
float a1 (float dd)
{
struct s sv;
sv.i = dd;
float d = __real__ sv.i;
g(&sv);
return d;
}