public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/38884]  New: missed FRE with __real and __imag
@ 2009-01-16 20:59 pinskia at gcc dot gnu dot org
  2009-01-16 20:59 ` [Bug tree-optimization/38884] " pinskia at gcc dot gnu dot org
  2010-03-02 19:09 ` pinskia at gcc dot gnu dot org
  0 siblings, 2 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2009-01-16 20:59 UTC (permalink / raw)
  To: gcc-bugs

Just like PR 38865:
struct s { _Complex float i; };
void g(struct s *);

float a (float dd)
{
  struct s sv;
  sv.i = dd;
  _Complex float d = sv.i;
  float d1 = __real__ d;
  g(&sv);
  return d1;
}


float a1 (float dd)
{
  struct s sv;
  sv.i = dd;
  float d = __real__ sv.i;
  g(&sv);
  return d;
}


-- 
           Summary: missed FRE with __real and __imag
           Product: gcc
           Version: 4.4.0
            Status: UNCONFIRMED
          Keywords: missed-optimization
          Severity: normal
          Priority: P3
         Component: tree-optimization
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: pinskia at gcc dot gnu dot org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38884


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2012-01-02  4:07 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-38884-4@http.gcc.gnu.org/bugzilla/>
2010-09-24 18:39 ` [Bug tree-optimization/38884] missed FRE with __real and __imag pinskia at gcc dot gnu.org
2010-09-24 18:41 ` pinskia at gcc dot gnu.org
2010-09-24 18:43 ` rguenth at gcc dot gnu.org
2011-10-05 12:47 ` rguenth at gcc dot gnu.org
2011-10-06  8:42 ` rguenth at gcc dot gnu.org
2011-10-06  8:47 ` rguenth at gcc dot gnu.org
2012-01-02  4:07 ` pinskia at gcc dot gnu.org
2009-01-16 20:59 [Bug tree-optimization/38884] New: " pinskia at gcc dot gnu dot org
2009-01-16 20:59 ` [Bug tree-optimization/38884] " pinskia at gcc dot gnu dot org
2010-03-02 19:09 ` pinskia at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).