public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/38884] missed FRE with __real and __imag
       [not found] <bug-38884-4@http.gcc.gnu.org/bugzilla/>
@ 2010-09-24 18:39 ` pinskia at gcc dot gnu.org
  2010-09-24 18:41 ` pinskia at gcc dot gnu.org
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu.org @ 2010-09-24 18:39 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> 2010-09-24 18:38:53 UTC ---
  global_res = { 0.0, 0.0, 0.0, 2.0e+0 };
  x.0_4 = BIT_FIELD_REF <global_res, 32, 0>;
  x = x.0_4;
  return 0;

-- 
Configure bugmail: http://gcc.gnu.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


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

* [Bug tree-optimization/38884] missed FRE with __real and __imag
       [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
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu.org @ 2010-09-24 18:41 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> 2010-09-24 18:39:57 UTC ---
  D.2727_2 = COMPLEX_EXPR <dd_1(D), 0.0>;
  sv.i = D.2727_2;
  d_3 = REALPART_EXPR <sv.i>;

-- 
Configure bugmail: http://gcc.gnu.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


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

* [Bug tree-optimization/38884] missed FRE with __real and __imag
       [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
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 9+ messages in thread
From: rguenth at gcc dot gnu.org @ 2010-09-24 18:43 UTC (permalink / raw)
  To: gcc-bugs

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

Richard Guenther <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot       |rguenth at gcc dot gnu.org
                   |gnu.org                     |

--- Comment #4 from Richard Guenther <rguenth at gcc dot gnu.org> 2010-09-24 18:42:45 UTC ---
Mine.

-- 
Configure bugmail: http://gcc.gnu.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


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

* [Bug tree-optimization/38884] missed FRE with __real and __imag
       [not found] <bug-38884-4@http.gcc.gnu.org/bugzilla/>
                   ` (2 preceding siblings ...)
  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
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 9+ messages in thread
From: rguenth at gcc dot gnu.org @ 2011-10-05 12:47 UTC (permalink / raw)
  To: gcc-bugs

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;
}


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

* [Bug tree-optimization/38884] missed FRE with __real and __imag
       [not found] <bug-38884-4@http.gcc.gnu.org/bugzilla/>
                   ` (3 preceding siblings ...)
  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
  6 siblings, 0 replies; 9+ messages in thread
From: rguenth at gcc dot gnu.org @ 2011-10-06  8:42 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #6 from Richard Guenther <rguenth at gcc dot gnu.org> 2011-10-06 08:41:54 UTC ---
Author: rguenth
Date: Thu Oct  6 08:41:44 2011
New Revision: 179593

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=179593
Log:
2011-10-06  Richard Guenther  <rguenther@suse.de>

    PR tree-optimization/38884
    * tree-ssa-sccvn.c (vn_reference_lookup_3): Handle partial
    reads from aggregate SSA names.

    * gcc.dg/tree-ssa/ssa-fre-34.c: New testcase.
    * gcc.dg/tree-ssa/ssa-fre-35.c: Likewise.

Added:
    trunk/gcc/testsuite/gcc.dg/tree-ssa/ssa-fre-34.c
    trunk/gcc/testsuite/gcc.dg/tree-ssa/ssa-fre-35.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/tree-ssa-sccvn.c


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

* [Bug tree-optimization/38884] missed FRE with __real and __imag
       [not found] <bug-38884-4@http.gcc.gnu.org/bugzilla/>
                   ` (4 preceding siblings ...)
  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
  6 siblings, 0 replies; 9+ messages in thread
From: rguenth at gcc dot gnu.org @ 2011-10-06  8:47 UTC (permalink / raw)
  To: gcc-bugs

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

Richard Guenther <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED

--- Comment #7 from Richard Guenther <rguenth at gcc dot gnu.org> 2011-10-06 08:46:52 UTC ---
Fixed for 4.7.0.


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

* [Bug tree-optimization/38884] missed FRE with __real and __imag
       [not found] <bug-38884-4@http.gcc.gnu.org/bugzilla/>
                   ` (5 preceding siblings ...)
  2011-10-06  8:47 ` rguenth at gcc dot gnu.org
@ 2012-01-02  4:07 ` pinskia at gcc dot gnu.org
  6 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu.org @ 2012-01-02  4:07 UTC (permalink / raw)
  To: gcc-bugs

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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |4.7.0


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

* [Bug tree-optimization/38884] missed FRE with __real and __imag
  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
  1 sibling, 0 replies; 9+ 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] 9+ messages in thread

* [Bug tree-optimization/38884] missed FRE with __real and __imag
  2009-01-16 20:59 [Bug tree-optimization/38884] New: " 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; 9+ 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] 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).