[Bug tree-optimization/38748] [4.4 Regression] Missed FRE because of VIEW_CONVERT_EXPR

2009-01-30 Thread hjl at gcc dot gnu dot org
--- Comment #10 from hjl at gcc dot gnu dot org 2009-01-30 17:32 --- Subject: Bug 38748 Author: hjl Date: Fri Jan 30 17:31:24 2009 New Revision: 143798 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=143798 Log: 2009-01-30 H.J. Lu hongjiu...@intel.com 2009-01-27

[Bug tree-optimization/38748] [4.4 Regression] Missed FRE because of VIEW_CONVERT_EXPR

2009-01-20 Thread rguenth at gcc dot gnu dot org
--- Comment #8 from rguenth at gcc dot gnu dot org 2009-01-20 17:10 --- Subject: Bug 38748 Author: rguenth Date: Tue Jan 20 17:10:40 2009 New Revision: 143523 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=143523 Log: 2009-01-20 Andrew Pinski andrew_pin...@playstation.sony.com

[Bug tree-optimization/38748] [4.4 Regression] Missed FRE because of VIEW_CONVERT_EXPR

2009-01-20 Thread rguenth at gcc dot gnu dot org
--- Comment #9 from rguenth at gcc dot gnu dot org 2009-01-20 17:11 --- Fixed. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED

[Bug tree-optimization/38748] [4.4 Regression] Missed FRE because of VIEW_CONVERT_EXPR

2009-01-15 Thread rguenth at gcc dot gnu dot org
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added Priority|P3 |P2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38748

[Bug tree-optimization/38748] [4.4 Regression] Missed FRE because of VIEW_CONVERT_EXPR

2009-01-15 Thread pinskia at gcc dot gnu dot org
--- Comment #6 from pinskia at gcc dot gnu dot org 2009-01-15 23:16 --- The CSE of the load is only valid at -O2 and above (strict aliasing turned on). -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38748

[Bug tree-optimization/38748] [4.4 Regression] Missed FRE because of VIEW_CONVERT_EXPR

2009-01-15 Thread pinskia at gcc dot gnu dot org
--- Comment #7 from pinskia at gcc dot gnu dot org 2009-01-15 23:30 --- PR 38747 has the best patch which allows most optimizations still but only disabling it for the invalid cases when the aliasing sets are not equal. Take: struct S { unsigned f; }; int __attribute__((noinline)) foo (

[Bug tree-optimization/38748] [4.4 Regression] Missed FRE because of VIEW_CONVERT_EXPR

2009-01-13 Thread rguenther at suse dot de
--- Comment #5 from rguenther at suse dot de 2009-01-13 08:55 --- Subject: Re: [4.4 Regression] Missed FRE because of VIEW_CONVERT_EXPR On Tue, 13 Jan 2009, pinskia at gcc dot gnu dot org wrote: --- Comment #4 from pinskia at gcc dot gnu dot org 2009-01-13 01:09 --- We

[Bug tree-optimization/38748] [4.4 Regression] Missed FRE because of VIEW_CONVERT_EXPR

2009-01-12 Thread pinskia at gcc dot gnu dot org
--- Comment #4 from pinskia at gcc dot gnu dot org 2009-01-13 01:09 --- We should be able to fold: VIEW_CONVERT_EXPRconst struct Loc(D.919509.D.78313.D.78008) Into just D.919509 . The indirect issue is a different one which needs to be fixed anyways as it causes aliasing issues which

[Bug tree-optimization/38748] [4.4 Regression] Missed FRE because of VIEW_CONVERT_EXPR

2009-01-11 Thread rguenth at gcc dot gnu dot org
--- Comment #2 from rguenth at gcc dot gnu dot org 2009-01-11 14:29 --- This hits tramp3d a lot, we end up with D.919534 = VIEW_CONVERT_EXPRconst struct Loc(D.919509.D.78313.D.78008).D.78313.D.78008.domain_m[0].D.77181.D.47055.D.46936.domain_m; vs. D.919509.D.78313.D.78008... the

[Bug tree-optimization/38748] [4.4 Regression] Missed FRE because of VIEW_CONVERT_EXPR

2009-01-11 Thread rguenth at gcc dot gnu dot org
--- Comment #3 from rguenth at gcc dot gnu dot org 2009-01-11 14:41 --- I can even see things like SR.20836 = VIEW_CONVERT_EXPRconst struct Interval(VIEW_CONVERT_EXPRconst struct

[Bug tree-optimization/38748] [4.4 Regression] Missed FRE because of VIEW_CONVERT_EXPR

2009-01-06 Thread rguenth at gcc dot gnu dot org
--- Comment #1 from rguenth at gcc dot gnu dot org 2009-01-06 21:33 --- Related to PR38747. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added