[Bug tree-optimization/37542] [4.4 Regression] PRE doesn't simplify during phi-translation

2008-11-02 Thread rguenth at gcc dot gnu dot org
--- Comment #6 from rguenth at gcc dot gnu dot org 2008-11-02 15:27 --- Subject: Bug 37542 Author: rguenth Date: Sun Nov 2 15:26:04 2008 New Revision: 141534 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=141534 Log: 2008-11-02 Richard Guenther [EMAIL PROTECTED] PR

[Bug tree-optimization/37542] [4.4 Regression] PRE doesn't simplify during phi-translation

2008-11-02 Thread rguenth at gcc dot gnu dot org
--- Comment #7 from rguenth at gcc dot gnu dot org 2008-11-02 15:27 --- Fixed as far as constants are concerned. For the non-constant case I'll open another bug. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug tree-optimization/37542] [4.4 Regression] PRE doesn't simplify during phi-translation

2008-11-01 Thread rguenth at gcc dot gnu dot org
--- Comment #4 from rguenth at gcc dot gnu dot org 2008-11-01 17:11 --- We need to be careful with simplifying to SSA_NAMEs as the following example shows: int foo (int i, int b) { int mask; int result; if (b) mask = -1; else mask = 0; result = i + 1; result =

[Bug tree-optimization/37542] [4.4 Regression] PRE doesn't simplify during phi-translation

2008-11-01 Thread rguenth at gcc dot gnu dot org
--- Comment #5 from rguenth at gcc dot gnu dot org 2008-11-01 17:12 --- Created an attachment (id=16609) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16609action=view) preliminary patch preliminary patch, only dealing with optimizing to constants. --

[Bug tree-optimization/37542] [4.4 Regression] PRE doesn't simplify during phi-translation

2008-10-21 Thread mmitchel at gcc dot gnu dot org
-- mmitchel at gcc dot gnu dot org changed: What|Removed |Added Priority|P3 |P2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37542

[Bug tree-optimization/37542] [4.4 Regression] PRE doesn't simplify during phi-translation

2008-09-22 Thread rguenth at gcc dot gnu dot org
--- Comment #3 from rguenth at gcc dot gnu dot org 2008-09-22 12:20 --- Current PRE simplifies only a subset of previous PRE - see tree-ssa-pre.c:fully_constant_expression. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37542

[Bug tree-optimization/37542] [4.4 Regression] PRE doesn't simplify during phi-translation

2008-09-16 Thread rguenth at gcc dot gnu dot org
--- Comment #2 from rguenth at gcc dot gnu dot org 2008-09-16 15:34 --- Hm, actually this is a regression :/ 4.3 produces foo (i, b) { int prephitmp.7; int pretmp.6; int j; int D.1550; bb 2: if (b_3(D) != 0) goto bb 3; else goto bb 5; bb 5: pretmp.6_8 = 1 -