public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/21574] store_ccp doesn't see through a store.
       [not found] <20050514211438.21574.kazu@gcc.gnu.org>
@ 2005-08-13 10:09 ` steven at gcc dot gnu dot org
  2005-08-13 10:12 ` steven at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: steven at gcc dot gnu dot org @ 2005-08-13 10:09 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From steven at gcc dot gnu dot org  2005-08-13 10:09 -------
My .vars dump: 
foo (p) 
{ 
<bb 0>: 
  *p = 0; 
  return 0; 
 
} 
 

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED


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


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug tree-optimization/21574] store_ccp doesn't see through a store.
       [not found] <20050514211438.21574.kazu@gcc.gnu.org>
  2005-08-13 10:09 ` [Bug tree-optimization/21574] store_ccp doesn't see through a store steven at gcc dot gnu dot org
@ 2005-08-13 10:12 ` steven at gcc dot gnu dot org
  2005-08-17  8:01 ` cvs-commit at gcc dot gnu dot org
  2005-08-17 12:19 ` pinskia at gcc dot gnu dot org
  3 siblings, 0 replies; 5+ messages in thread
From: steven at gcc dot gnu dot org @ 2005-08-13 10:12 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From steven at gcc dot gnu dot org  2005-08-13 10:12 -------
Whoops, didn't want to close it!!  Wanted to say that the patch 
from Bug 23094 fixes this for me. 

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |


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


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug tree-optimization/21574] store_ccp doesn't see through a store.
       [not found] <20050514211438.21574.kazu@gcc.gnu.org>
  2005-08-13 10:09 ` [Bug tree-optimization/21574] store_ccp doesn't see through a store steven at gcc dot gnu dot org
  2005-08-13 10:12 ` steven at gcc dot gnu dot org
@ 2005-08-17  8:01 ` cvs-commit at gcc dot gnu dot org
  2005-08-17 12:19 ` pinskia at gcc dot gnu dot org
  3 siblings, 0 replies; 5+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-08-17  8:01 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2005-08-17 07:29 -------
Subject: Bug 21574

CVSROOT:	/cvs/gcc
Module name:	gcc
Changes by:	steven@gcc.gnu.org	2005-08-17 07:27:49

Modified files:
	gcc            : ChangeLog tree-ssa-ccp.c 
	gcc/testsuite  : ChangeLog 
Added files:
	gcc/testsuite/gcc.dg/tree-ssa: pr21574.c 

Log message:
	PR tree-optimization/21574
	* tree-ssa-ccp.c (likely_value): If the right hand side is a
	constant, return CONSTANT.
	(ccp_lattice_meet): Use operand_equal_p instead of simple_cst_equal.
	(ccp_fold, visit_assignment): Likewise.
	(evaluate_stmt): Handle UNDEFINED and UNKNOWN_VAL the same way.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&r1=2.9757&r2=2.9758
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/tree-ssa-ccp.c.diff?cvsroot=gcc&r1=2.86&r2=2.87
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&r1=1.5934&r2=1.5935
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gcc.dg/tree-ssa/pr21574.c.diff?cvsroot=gcc&r1=NONE&r2=1.1



-- 


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


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug tree-optimization/21574] store_ccp doesn't see through a store.
       [not found] <20050514211438.21574.kazu@gcc.gnu.org>
                   ` (2 preceding siblings ...)
  2005-08-17  8:01 ` cvs-commit at gcc dot gnu dot org
@ 2005-08-17 12:19 ` pinskia at gcc dot gnu dot org
  3 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-08-17 12:19 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-08-17 12:11 -------
Fixed.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|---                         |4.1.0


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


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug tree-optimization/21574] store_ccp doesn't see through a store.
  2005-05-14 21:14 [Bug tree-optimization/21574] New: " kazu at cs dot umass dot edu
@ 2005-05-14 21:21 ` pinskia at gcc dot gnu dot org
  0 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-05-14 21:21 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-05-14 21:21 -------
Confirmed.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |pinskia at gcc dot gnu dot
                   |                            |org
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
   Last reconfirmed|0000-00-00 00:00:00         |2005-05-14 21:21:37
               date|                            |


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


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2005-08-17 12:11 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20050514211438.21574.kazu@gcc.gnu.org>
2005-08-13 10:09 ` [Bug tree-optimization/21574] store_ccp doesn't see through a store steven at gcc dot gnu dot org
2005-08-13 10:12 ` steven at gcc dot gnu dot org
2005-08-17  8:01 ` cvs-commit at gcc dot gnu dot org
2005-08-17 12:19 ` pinskia at gcc dot gnu dot org
2005-05-14 21:14 [Bug tree-optimization/21574] New: " kazu at cs dot umass dot edu
2005-05-14 21:21 ` [Bug tree-optimization/21574] " pinskia at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).