[Bug tree-optimization/43213] [4.5 Regression] Worse code generated with -O2

2010-03-01 Thread rguenth at gcc dot gnu dot org


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

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



[Bug tree-optimization/43213] [4.5 Regression] Worse code generated with -O2

2010-03-01 Thread rguenth at gcc dot gnu dot org


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



[Bug tree-optimization/43213] [4.5 Regression] Worse code generated with -O2

2010-03-01 Thread rguenth at gcc dot gnu dot org


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



[Bug tree-optimization/43213] [4.5 Regression] Worse code generated with -O2

2010-03-01 Thread pinskia at gmail dot com


--- 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"
 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|-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



Re: [Bug tree-optimization/43213] [4.5 Regression] Worse code generated with -O2

2010-03-01 Thread Andrew Pinski



Sent from my iPhone

On Mar 1, 2010, at 2:29 AM, "rguenth at gcc dot gnu dot 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|-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



[Bug tree-optimization/43213] [4.5 Regression] Worse code generated with -O2

2010-03-01 Thread rguenth at gcc dot gnu dot org


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



[Bug tree-optimization/43213] [4.5 Regression] Worse code generated with -O2

2010-02-28 Thread d dot g dot gorbachev at gmail dot com


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



[Bug tree-optimization/43213] [4.5 Regression] Worse code generated with -O2

2010-02-28 Thread d dot g dot gorbachev at gmail dot com


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