[Bug tree-optimization/38180] CCP does not propagate through constant initializers

2009-03-28 Thread rguenth at gcc dot gnu dot org
--- Comment #8 from rguenth at gcc dot gnu dot org 2009-03-28 12:52 --- Subject: Bug 38180 Author: rguenth Date: Sat Mar 28 12:52:13 2009 New Revision: 145184 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=145184 Log: 2009-03-28 Richard Guenther rguent...@suse.de PR

[Bug tree-optimization/38180] CCP does not propagate through constant initializers

2009-03-28 Thread rguenth at gcc dot gnu dot org
--- Comment #9 from rguenth at gcc dot gnu dot org 2009-03-28 12:52 --- Fixed. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED

Re: [Bug tree-optimization/38180] CCP does not propagate through constant initializers

2008-11-26 Thread Graham Stott
Richard, const volatile is a perfectly valid combination. What is says is it's read only but may change value in ways unknown to the compiler think of a memory mapped hardware register which is read only such as some kind of counter . Cheers Graham

[Bug tree-optimization/38180] CCP does not propagate through constant initializers

2008-11-26 Thread graham dot stott at btinternet dot com
--- Comment #6 from graham dot stott at btinternet dot com 2008-11-26 14:02 --- Subject: Re: CCP does not propagate through constant initializers Richard, const volatile is a perfectly valid combination. What is says is it's read only but may change value in ways unknown to the

[Bug tree-optimization/38180] CCP does not propagate through constant initializers

2008-11-26 Thread rguenther at suse dot de
--- Comment #5 from rguenther at suse dot de 2008-11-26 13:05 --- Subject: Re: CCP does not propagate through constant initializers On Wed, 26 Nov 2008, graham dot stott at btinternet dot com wrote: --- Comment #4 from graham dot stott at btinternet dot com 2008-11-26

[Bug tree-optimization/38180] CCP does not propagate through constant initializers

2008-11-26 Thread graham dot stott at btinternet dot com
at gcc dot gnu dot org [EMAIL PROTECTED] wrote: From: rguenth at gcc dot gnu dot org [EMAIL PROTECTED] Subject: [Bug tree-optimization/38180] CCP does not propagate through constant initializers To: gcc-bugs@gcc.gnu.org Date: Wednesday, 26 November, 2008, 12:28 PM --- Comment #3 from rguenth

Re: [Bug tree-optimization/38180] CCP does not propagate through constant initializers

2008-11-26 Thread Graham Stott
(void) { return value; } Here it's not valid to ccp value into the return value and return 42 Graham --- On Wed, 26/11/08, rguenth at gcc dot gnu dot org [EMAIL PROTECTED] wrote: From: rguenth at gcc dot gnu dot org [EMAIL PROTECTED] Subject: [Bug tree-optimization/38180] CCP does

[Bug tree-optimization/38180] CCP does not propagate through constant initializers

2008-11-26 Thread rguenth at gcc dot gnu dot org
--- Comment #3 from rguenth at gcc dot gnu dot org 2008-11-26 12:28 --- Subject: Bug 38180 Author: rguenth Date: Wed Nov 26 12:27:33 2008 New Revision: 142217 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=142217 Log: 2008-11-26 Richard Guenther [EMAIL PROTECTED] PR

[Bug tree-optimization/38180] CCP does not propagate through constant initializers

2008-11-26 Thread rguenther at suse dot de
--- Comment #7 from rguenther at suse dot de 2008-11-26 15:13 --- Subject: Re: CCP does not propagate through constant initializers On Wed, 26 Nov 2008, graham dot stott at btinternet dot com wrote: --- Comment #6 from graham dot stott at btinternet dot com 2008-11-26 14:02

[Bug tree-optimization/38180] CCP does not propagate through constant initializers

2008-11-19 Thread rguenth at gcc dot gnu dot org
--- Comment #1 from rguenth at gcc dot gnu dot org 2008-11-19 20:01 --- Mine. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug tree-optimization/38180] CCP does not propagate through constant initializers

2008-11-19 Thread rguenth at gcc dot gnu dot org
--- Comment #2 from rguenth at gcc dot gnu dot org 2008-11-19 20:02 --- Visiting statement: p_1 = x; which is likely CONSTANT Lattice value changed to CONSTANT x. Adding SSA edges to worklist. Visiting statement: y_2 = *p_1; which is likely CONSTANT Lattice value changed to VARYING.