[Bug tree-optimization/20115] [4.0 Regression] Pure functions are mishandled

2005-02-23 Thread steven at gcc dot gnu dot org
--- Additional Comments From steven at gcc dot gnu dot org 2005-02-23 11:23 --- http://gcc.gnu.org/ml/gcc-patches/2005-02/msg01387.html -- What|Removed |Added St

[Bug tree-optimization/20115] [4.0 Regression] Pure functions are mishandled

2005-02-22 Thread cvs-commit at gcc dot gnu dot org
--- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-02-23 05:08 --- Subject: Bug 20115 CVSROOT:/cvs/gcc Module name:gcc Changes by: [EMAIL PROTECTED] 2005-02-23 05:08:33 Modified files: gcc: ChangeLog tree-optimize.c tree-pass.h

[Bug tree-optimization/20115] [4.0 Regression] Pure functions are mishandled

2005-02-22 Thread dnovillo at gcc dot gnu dot org
--- Additional Comments From dnovillo at gcc dot gnu dot org 2005-02-22 18:26 --- Testing patch. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20115

[Bug tree-optimization/20115] [4.0 Regression] Pure functions are mishandled

2005-02-22 Thread dnovillo at gcc dot gnu dot org
-- What|Removed |Added AssignedTo|unassigned at gcc dot gnu |dnovillo at gcc dot gnu dot |dot org |org Status|NEW

[Bug tree-optimization/20115] [4.0 Regression] Pure functions are mishandled

2005-02-22 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-02-22 14:56 --- > For pure calls the code would need to invalidate > all recorded pure calls whenever a stmt might modify global state. Yes this was done with GLOBAL_VAR before Diego's patch but now it is not done with any

[Bug tree-optimization/20115] [4.0 Regression] Pure functions are mishandled

2005-02-22 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-02-22 14:21 --- Also note that DOM is doing the "correct" thing as the DOM does not know that func_other could change the value of func_pure. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20115

[Bug tree-optimization/20115] [4.0 Regression] Pure functions are mishandled

2005-02-22 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-02-22 14:19 --- Note this was cause by: 2005-01-26 Diego Novillo <[EMAIL PROTECTED]> PR tree-optimization/19633 * tree-ssa-alias.c (ptr_is_dereferenced_by): Also handle CALL_EXPRs. (maybe_

[Bug tree-optimization/20115] [4.0 Regression] Pure functions are mishandled

2005-02-22 Thread jakub at gcc dot gnu dot org
--- Additional Comments From jakub at gcc dot gnu dot org 2005-02-22 14:15 --- This is a DOM bug. Comment above lookup_avail_expr says: NOTE: This function assumes that STMT is a MODIFY_EXPR node that contains no CALL_EXPR on its RHS and makes no volatile nor aliased references.

[Bug tree-optimization/20115] [4.0 Regression] Pure functions are mishandled

2005-02-21 Thread belyshev at depni dot sinp dot msu dot ru
-- What|Removed |Added Status|UNCONFIRMED |NEW Ever Confirmed||1 Known to fail||4.0.0

[Bug tree-optimization/20115] [4.0 Regression] Pure functions are mishandled

2005-02-20 Thread pinskia at gcc dot gnu dot org
-- What|Removed |Added Summary|[4.0 Regression] Pure |[4.0 Regression] Pure |functions are missed handled|functions are mishandled http://gcc.gnu