[Bug tree-optimization/23157] [4.1 Regression] incorrect sharing of tree nodes regression

2005-08-03 Thread pinskia at gcc dot gnu dot org

--- Additional Comments From pinskia at gcc dot gnu dot org  2005-08-03 
19:49 ---
Fixed.

-- 
   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED


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


[Bug tree-optimization/23157] [4.1 Regression] incorrect sharing of tree nodes regression

2005-08-03 Thread cvs-commit at gcc dot gnu dot org

--- Additional Comments From cvs-commit at gcc dot gnu dot org  2005-08-03 
18:39 ---
Subject: Bug 23157

CVSROOT:/cvs/gcc
Module name:gcc
Changes by: [EMAIL PROTECTED]   2005-08-03 18:39:11

Modified files:
gcc: ChangeLog tree-scalar-evolution.c 

Log message:
PR tree-optimization/23157
* tree-scalar-evolution.c (scev_const_prop): Unshare trees
before emitting them.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&r1=2.9647&r2=2.9648
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/tree-scalar-evolution.c.diff?cvsroot=gcc&r1=2.33&r2=2.34



-- 


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


[Bug tree-optimization/23157] [4.1 Regression] incorrect sharing of tree nodes regression

2005-07-31 Thread rakdver at gcc dot gnu dot org

--- Additional Comments From rakdver at gcc dot gnu dot org  2005-07-31 
16:44 ---
Adding

def = unshare_expr (def);

after

if (force_expr_to_var_cost (def) >= target_spill_cost)
  continue;

in tree-scalar-evolution.c might help.  I cannot test it just now (I am on 
shared computer and cannot take much time).

-- 


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


[Bug tree-optimization/23157] [4.1 Regression] incorrect sharing of tree nodes regression

2005-07-31 Thread pinskia at gcc dot gnu dot org

--- Additional Comments From pinskia at gcc dot gnu dot org  2005-07-31 
16:27 ---
Confirmed.  SCCP is causing this ICE.

-- 
   What|Removed |Added

 CC||rakdver at gcc dot gnu dot
   ||org
 Status|UNCONFIRMED |NEW
 Ever Confirmed||1
   Last reconfirmed|-00-00 00:00:00 |2005-07-31 16:27:58
   date||


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


[Bug tree-optimization/23157] [4.1 Regression] incorrect sharing of tree nodes regression

2005-07-31 Thread pinskia at gcc dot gnu dot org


-- 
   What|Removed |Added

  Component|c   |tree-optimization
   Keywords||ice-on-valid-code
Summary|incorrect sharing of tree   |[4.1 Regression] incorrect
   |nodes regression|sharing of tree nodes
   ||regression
   Target Milestone|--- |4.1.0


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