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; 3+ 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] 3+ messages in thread

* [Bug tree-optimization/38884] missed FRE with __real and __imag
  2009-01-16 20:59 [Bug tree-optimization/38884] New: missed FRE with __real and __imag pinskia at gcc dot gnu dot org
@ 2009-01-16 20:59 ` pinskia at gcc dot gnu dot org
  2010-03-02 19:09 ` pinskia at gcc dot gnu dot org
  1 sibling, 0 replies; 3+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2009-01-16 20:59 UTC (permalink / raw)
  To: gcc-bugs



-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |pinskia at gcc dot gnu dot
                   |                            |org
           Severity|normal                      |enhancement


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


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

* [Bug tree-optimization/38884] missed FRE with __real and __imag
  2009-01-16 20:59 [Bug tree-optimization/38884] New: missed FRE with __real and __imag 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
  1 sibling, 0 replies; 3+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2010-03-02 19:09 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from pinskia at gcc dot gnu dot org  2010-03-02 19:09 -------
Still happens as of today.


-- 


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


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

end of thread, other threads:[~2010-03-02 19:09 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-01-16 20:59 [Bug tree-optimization/38884] New: missed FRE with __real and __imag 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).