[Bug tree-optimization/24287] pure functions cause things to be call clobbered still

2006-01-18 Thread pinskia at gcc dot gnu dot org


--- Comment #7 from pinskia at gcc dot gnu dot org  2006-01-19 04:58 ---
Confirmed fixed by:
2006-01-16  Daniel Berlin  [EMAIL PROTECTED]


-- 

pinskia at gcc dot gnu dot org changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution||FIXED
   Target Milestone|--- |4.2.0


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



[Bug tree-optimization/24287] pure functions cause things to be call clobbered still

2005-12-18 Thread kazu at gcc dot gnu dot org


--- Comment #5 from kazu at gcc dot gnu dot org  2005-12-18 15:48 ---
Is this PR fixed?  Or does it need some follow-up work?


-- 

kazu at gcc dot gnu dot org changed:

   What|Removed |Added

 CC||dberlin at gcc dot gnu dot
   ||org, kazu at gcc dot gnu dot
   ||org


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



[Bug tree-optimization/24287] pure functions cause things to be call clobbered still

2005-12-18 Thread dberlin at dberlin dot org


--- Comment #6 from dberlin at gcc dot gnu dot org  2005-12-18 16:29 ---
Subject: Re:  pure functions cause things to
be call clobbered still

On Sun, 2005-12-18 at 15:48 +, kazu at gcc dot gnu dot org wrote:
 
 --- Comment #5 from kazu at gcc dot gnu dot org  2005-12-18 15:48 ---
 Is this PR fixed?  Or does it need some follow-up work?
 


It's fixed on improved-aliasing.
I'm merging the required changes.


-- 


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



[Bug tree-optimization/24287] pure functions cause things to be call clobbered still

2005-10-19 Thread cvs-commit at gcc dot gnu dot org


--- Comment #4 from cvs-commit at gcc dot gnu dot org  2005-10-19 14:00 
---
Subject: Bug 24287

CVSROOT:/cvs/gcc
Module name:gcc
Branch: improved-aliasing-branch
Changes by: [EMAIL PROTECTED] 2005-10-19 14:00:53

Modified files:
gcc: ChangeLog.iab passes.c tree-dfa.c tree-flow.h 
 tree-ssa-alias.c tree-ssa-operands.c 
 tree-ssa-structalias.c 
gcc/cp : ptree.c 
Added files:
gcc/testsuite/gcc.dg/tree-ssa: pr24287.c 

Log message:
2005-10-18  Daniel Berlin  [EMAIL PROTECTED]

Fix PR tree-optimization/24287
* tree-dfa.c (dump_variable): Print reasons for call clobbering.
* tree-flow.h (struct ptr_info_def): Add escape mask to pointer.
(ESCAPE_TRANSITIVE): Removed.
(ESCAPE_TO_PURE_CONST): New.
(ESCAPE_IS_PARM): New.
(ESCAPE_UNKNOWN): New.
* tree-ssa-alias.c (set_initial_properties): Incoming pointers are
value escaping.
Pointers that point to anything are not.
Use pointer escape mask.
(is_escape_site): Use ESCAPE_TO_PURE_CONST.
* tree-ssa-operands.c (add_call_clobber_ops): Clean up a bit.
Things that *only* escape to pure/const functions are only read by
pure/const functions, and are not clobbered by the non-pure/const
functions.
(add_call_read_ops): Cleanup.
* tree-ssa-structalias.c (update_alias_info): Use pi-escape_mask,
not v_ann.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.iab.diff?cvsroot=gcconly_with_tag=improved-aliasing-branchr1=1.1.2.13r2=1.1.2.14
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/passes.c.diff?cvsroot=gcconly_with_tag=improved-aliasing-branchr1=2.109.2.7r2=2.109.2.8
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/tree-dfa.c.diff?cvsroot=gcconly_with_tag=improved-aliasing-branchr1=2.63.4.6r2=2.63.4.7
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/tree-flow.h.diff?cvsroot=gcconly_with_tag=improved-aliasing-branchr1=2.132.2.8r2=2.132.2.9
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/tree-ssa-alias.c.diff?cvsroot=gcconly_with_tag=improved-aliasing-branchr1=2.109.4.11r2=2.109.4.12
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/tree-ssa-operands.c.diff?cvsroot=gcconly_with_tag=improved-aliasing-branchr1=2.100.4.7r2=2.100.4.8
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/tree-ssa-structalias.c.diff?cvsroot=gcconly_with_tag=improved-aliasing-branchr1=2.27.2.10r2=2.27.2.11
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/ptree.c.diff?cvsroot=gcconly_with_tag=improved-aliasing-branchr1=1.51r2=1.51.2.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gcc.dg/tree-ssa/pr24287.c.diff?cvsroot=gcconly_with_tag=improved-aliasing-branchr1=NONEr2=1.1.2.1


-- 


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



[Bug tree-optimization/24287] pure functions cause things to be call clobbered still

2005-10-10 Thread dberlin at gcc dot gnu dot org


--- Comment #2 from dberlin at gcc dot gnu dot org  2005-10-10 12:45 ---
Actually, it's not related at all.
This is just a bug.


-- 

dberlin at gcc dot gnu dot org changed:

   What|Removed |Added

  BugsThisDependsOn|23134   |


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



[Bug tree-optimization/24287] pure functions cause things to be call clobbered still

2005-10-10 Thread pinskia at gcc dot gnu dot org


--- Comment #3 from pinskia at gcc dot gnu dot org  2005-10-10 15:17 ---
Assigning to Daniel Berlin per his request.


-- 

pinskia at gcc dot gnu dot org changed:

   What|Removed |Added

 AssignedTo|unassigned at gcc dot gnu   |dberlin at gcc dot gnu dot
   |dot org |org
 Status|UNCONFIRMED |ASSIGNED
 Ever Confirmed|0   |1
   Last reconfirmed|-00-00 00:00:00 |2005-10-10 15:17:08
   date||


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



[Bug tree-optimization/24287] pure functions cause things to be call clobbered still

2005-10-09 Thread pinskia at gcc dot gnu dot org


--- Comment #1 from pinskia at gcc dot gnu dot org  2005-10-09 17:35 ---
Related to PR 23134.


-- 

pinskia at gcc dot gnu dot org changed:

   What|Removed |Added

  BugsThisDependsOn||23134


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