public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/43213]  New: [4.5 Regression] Worse code generated with -O2
@ 2010-02-28 19:54 d dot g dot gorbachev at gmail dot com
  2010-02-28 19:58 ` [Bug tree-optimization/43213] " d dot g dot gorbachev at gmail dot com
                   ` (6 more replies)
  0 siblings, 7 replies; 9+ messages in thread
From: d dot g dot gorbachev at gmail dot com @ 2010-02-28 19:54 UTC (permalink / raw)
  To: gcc-bugs




-- 
           Summary: [4.5 Regression] Worse code generated with -O2
           Product: gcc
           Version: 4.5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: tree-optimization
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: d dot g dot gorbachev at gmail dot com
 GCC build triplet: i686-pc-linux-gnu
  GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu


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


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

* [Bug tree-optimization/43213] [4.5 Regression] Worse code generated with -O2
  2010-02-28 19:54 [Bug tree-optimization/43213] New: [4.5 Regression] Worse code generated with -O2 d dot g dot gorbachev at gmail dot com
  2010-02-28 19:58 ` [Bug tree-optimization/43213] " d dot g dot gorbachev at gmail dot com
@ 2010-02-28 19:58 ` d dot g dot gorbachev at gmail dot com
  2010-03-01 10:29 ` rguenth at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 9+ messages in thread
From: d dot g dot gorbachev at gmail dot com @ 2010-02-28 19:58 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from d dot g dot gorbachev at gmail dot com  2010-02-28 19:58 -------
Created an attachment (id=19991)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19991&action=view)
C source


-- 


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


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

* [Bug tree-optimization/43213] [4.5 Regression] Worse code generated with -O2
  2010-02-28 19:54 [Bug tree-optimization/43213] New: [4.5 Regression] Worse code generated with -O2 d dot g dot gorbachev at gmail dot com
@ 2010-02-28 19:58 ` d dot g dot gorbachev at gmail dot com
  2010-02-28 19:58 ` d dot g dot gorbachev at gmail dot com
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 9+ messages in thread
From: d dot g dot gorbachev at gmail dot com @ 2010-02-28 19:58 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from d dot g dot gorbachev at gmail dot com  2010-02-28 19:57 -------
Created an attachment (id=19990)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19990&action=view)
Poor code


-- 


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


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

* [Bug tree-optimization/43213] [4.5 Regression] Worse code generated with -O2
  2010-02-28 19:54 [Bug tree-optimization/43213] New: [4.5 Regression] Worse code generated with -O2 d dot g dot gorbachev at gmail dot com
  2010-02-28 19:58 ` [Bug tree-optimization/43213] " d dot g dot gorbachev at gmail dot com
  2010-02-28 19:58 ` d dot g dot gorbachev at gmail dot com
@ 2010-03-01 10:29 ` rguenth at gcc dot gnu dot org
  2010-03-01 10:38   ` Andrew Pinski
  2010-03-01 10:38 ` pinskia at gmail dot com
                   ` (3 subsequent siblings)
  6 siblings, 1 reply; 9+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2010-03-01 10:29 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from rguenth at gcc dot gnu dot org  2010-03-01 10:29 -------
Huh.  Confirmed.


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2010-03-01 10:29:21
               date|                            |
   Target Milestone|---                         |4.5.0


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


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

* [Bug tree-optimization/43213] [4.5 Regression] Worse code generated with -O2
  2010-02-28 19:54 [Bug tree-optimization/43213] New: [4.5 Regression] Worse code generated with -O2 d dot g dot gorbachev at gmail dot com
                   ` (2 preceding siblings ...)
  2010-03-01 10:29 ` rguenth at gcc dot gnu dot org
@ 2010-03-01 10:38 ` pinskia at gmail dot com
  2010-03-01 10:48 ` rguenth at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 9+ messages in thread
From: pinskia at gmail dot com @ 2010-03-01 10:38 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from pinskia at gmail dot com  2010-03-01 10:38 -------
Subject: Re:  [4.5 Regression] Worse code generated with -O2



Sent from my iPhone

On Mar 1, 2010, at 2:29 AM, "rguenth at gcc dot gnu dot org"
<gcc-bugzilla@gcc.gnu.org 
 > wrote:

>
>
> ------- Comment #3 from rguenth at gcc dot gnu dot org  2010-03-01  
> 10:29 -------
> Huh.  Confirmed.

Not that interesting because the aliasing sets are different and we  
made 4.5 work for c++ code dealing with dynamic types.


>
>
> -- 
>
> rguenth at gcc dot gnu dot org changed:
>
>           What    |Removed                     |Added
> --- 
> --- 
> ----------------------------------------------------------------------
>             Status|UNCONFIRMED                 |NEW
>     Ever Confirmed|0                           |1
>   Last reconfirmed|0000-00-00 00:00:00         |2010-03-01 10:29:21
>               date|                            |
>   Target Milestone|---                         |4.5.0
>
>
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43213
>


-- 


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


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

* Re: [Bug tree-optimization/43213] [4.5 Regression] Worse code generated with -O2
  2010-03-01 10:29 ` rguenth at gcc dot gnu dot org
@ 2010-03-01 10:38   ` Andrew Pinski
  0 siblings, 0 replies; 9+ messages in thread
From: Andrew Pinski @ 2010-03-01 10:38 UTC (permalink / raw)
  To: gcc-bugzilla; +Cc: gcc-bugs



Sent from my iPhone

On Mar 1, 2010, at 2:29 AM, "rguenth at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org 
 > wrote:

>
>
> ------- Comment #3 from rguenth at gcc dot gnu dot org  2010-03-01  
> 10:29 -------
> Huh.  Confirmed.

Not that interesting because the aliasing sets are different and we  
made 4.5 work for c++ code dealing with dynamic types.


>
>
> -- 
>
> rguenth at gcc dot gnu dot org changed:
>
>           What    |Removed                     |Added
> --- 
> --- 
> ----------------------------------------------------------------------
>             Status|UNCONFIRMED                 |NEW
>     Ever Confirmed|0                           |1
>   Last reconfirmed|0000-00-00 00:00:00         |2010-03-01 10:29:21
>               date|                            |
>   Target Milestone|---                         |4.5.0
>
>
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43213
>


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

* [Bug tree-optimization/43213] [4.5 Regression] Worse code generated with -O2
  2010-02-28 19:54 [Bug tree-optimization/43213] New: [4.5 Regression] Worse code generated with -O2 d dot g dot gorbachev at gmail dot com
                   ` (3 preceding siblings ...)
  2010-03-01 10:38 ` pinskia at gmail dot com
@ 2010-03-01 10:48 ` rguenth at gcc dot gnu dot org
  2010-03-01 12:57 ` rguenth at gcc dot gnu dot org
  2010-03-01 12:57 ` rguenth at gcc dot gnu dot org
  6 siblings, 0 replies; 9+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2010-03-01 10:48 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from rguenth at gcc dot gnu dot org  2010-03-01 10:48 -------
I have a patch.


-- 

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
   Last reconfirmed|2010-03-01 10:29:21         |2010-03-01 10:48:41
               date|                            |


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


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

* [Bug tree-optimization/43213] [4.5 Regression] Worse code generated with -O2
  2010-02-28 19:54 [Bug tree-optimization/43213] New: [4.5 Regression] Worse code generated with -O2 d dot g dot gorbachev at gmail dot com
                   ` (5 preceding siblings ...)
  2010-03-01 12:57 ` rguenth at gcc dot gnu dot org
@ 2010-03-01 12:57 ` rguenth at gcc dot gnu dot org
  6 siblings, 0 replies; 9+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2010-03-01 12:57 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #7 from rguenth at gcc dot gnu dot org  2010-03-01 12:57 -------
Subject: Bug 43213

Author: rguenth
Date: Mon Mar  1 12:56:44 2010
New Revision: 157142

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=157142
Log:
2010-03-01  Richard Guenther  <rguenther@suse.de>

        PR middle-end/43213
        * expr.c (expand_assignment): Use the alias-oracle to tell
        if the rhs aliases the result decl.

        * gcc.dg/pr43213.c: New testcase.

Added:
    trunk/gcc/testsuite/gcc.dg/pr43213.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/expr.c
    trunk/gcc/testsuite/ChangeLog


-- 


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


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

* [Bug tree-optimization/43213] [4.5 Regression] Worse code generated with -O2
  2010-02-28 19:54 [Bug tree-optimization/43213] New: [4.5 Regression] Worse code generated with -O2 d dot g dot gorbachev at gmail dot com
                   ` (4 preceding siblings ...)
  2010-03-01 10:48 ` rguenth at gcc dot gnu dot org
@ 2010-03-01 12:57 ` rguenth at gcc dot gnu dot org
  2010-03-01 12:57 ` rguenth at gcc dot gnu dot org
  6 siblings, 0 replies; 9+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2010-03-01 12:57 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #6 from rguenth at gcc dot gnu dot org  2010-03-01 12:56 -------
Fixed.


-- 

rguenth at gcc dot gnu dot org changed:

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


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


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

end of thread, other threads:[~2010-03-01 12:57 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-02-28 19:54 [Bug tree-optimization/43213] New: [4.5 Regression] Worse code generated with -O2 d dot g dot gorbachev at gmail dot com
2010-02-28 19:58 ` [Bug tree-optimization/43213] " d dot g dot gorbachev at gmail dot com
2010-02-28 19:58 ` d dot g dot gorbachev at gmail dot com
2010-03-01 10:29 ` rguenth at gcc dot gnu dot org
2010-03-01 10:38   ` Andrew Pinski
2010-03-01 10:38 ` pinskia at gmail dot com
2010-03-01 10:48 ` rguenth at gcc dot gnu dot org
2010-03-01 12:57 ` rguenth at gcc dot gnu dot org
2010-03-01 12:57 ` rguenth 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).