[Bug tree-optimization/43940] DOM doesn't propagate constants properly

2012-03-19 Thread stevenb.gcc at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43940 --- Comment #7 from stevenb.gcc at gmail dot com 2012-03-19 09:51:41 UTC --- > --- Comment #6 from Richard Guenther 2012-03-19 > 09:34:58 UTC --- > I think this was fixed by > > 2012-02-29  Bill Schmidt   > >        PR tree-optimization/52424 >

[Bug tree-optimization/43940] DOM doesn't propagate constants properly

2012-03-19 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43940 Richard Guenther changed: What|Removed |Added Status|ASSIGNED|RESOLVED Depends on|

[Bug tree-optimization/43940] DOM doesn't propagate constants properly

2012-03-18 Thread steven at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43940 --- Comment #5 from Steven Bosscher 2012-03-18 22:48:49 UTC --- With trunk today (r185508), on x86_64-linux at -O2 -fno-tree-vrp: The .072t.ifcombine dump: main () { void * p; : p_2 = __builtin_malloc (4); if (p_2 != 0B) goto ; else

[Bug tree-optimization/43940] DOM doesn't propagate constants properly

2010-07-25 Thread steven at gcc dot gnu dot org
--- Comment #4 from steven at gcc dot gnu dot org 2010-07-25 16:25 --- cprop_into_successor_phis only propagates SSA_NAME_VALUEs, but not conditional copies/constants. May be a better place to fix this bug. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43940

[Bug tree-optimization/43940] DOM doesn't propagate constants properly

2010-07-25 Thread steven at gcc dot gnu dot org
--- Comment #3 from steven at gcc dot gnu dot org 2010-07-25 10:29 --- VRP does this with ASSERT_EXPRs. DOM does not optimize this because bb4 has two predecessors, and record_equivalences_from_incoming_edge only records from a single predecessor. This should probably be handled record

[Bug tree-optimization/43940] DOM doesn't propagate constants properly

2010-07-24 Thread steven at gcc dot gnu dot org
--- Comment #2 from steven at gcc dot gnu dot org 2010-07-24 22:04 --- Investigating... -- steven at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|u

[Bug tree-optimization/43940] DOM doesn't propagate constants properly

2010-07-24 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2010-07-24 21:44 --- Confirmed. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added Status|UNCON