* [Bug tree-optimization/22303] CCP does not handle STRING_CSTs
[not found] <bug-22303-6528@http.gcc.gnu.org/bugzilla/>
@ 2006-05-08 9:57 ` rguenth at gcc dot gnu dot org
2006-05-08 10:07 ` mueller at gcc dot gnu dot org
` (7 subsequent siblings)
8 siblings, 0 replies; 14+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2006-05-08 9:57 UTC (permalink / raw)
To: gcc-bugs
------- Comment #4 from rguenth at gcc dot gnu dot org 2006-05-08 09:57 -------
Patch with discussion:
http://gcc.gnu.org/ml/gcc-patches/2006-04/msg01038.html
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |rguenth at gcc dot gnu dot
| |org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22303
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug tree-optimization/22303] CCP does not handle STRING_CSTs
[not found] <bug-22303-6528@http.gcc.gnu.org/bugzilla/>
2006-05-08 9:57 ` rguenth at gcc dot gnu dot org
@ 2006-05-08 10:07 ` mueller at gcc dot gnu dot org
2006-05-08 10:07 ` mueller at gcc dot gnu dot org
` (6 subsequent siblings)
8 siblings, 0 replies; 14+ messages in thread
From: mueller at gcc dot gnu dot org @ 2006-05-08 10:07 UTC (permalink / raw)
To: gcc-bugs
--
mueller at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |mueller at gcc dot gnu dot
|dot org |org
Status|NEW |ASSIGNED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22303
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug tree-optimization/22303] CCP does not handle STRING_CSTs
[not found] <bug-22303-6528@http.gcc.gnu.org/bugzilla/>
2006-05-08 9:57 ` rguenth at gcc dot gnu dot org
2006-05-08 10:07 ` mueller at gcc dot gnu dot org
@ 2006-05-08 10:07 ` mueller at gcc dot gnu dot org
2006-05-08 15:06 ` pinskia at gcc dot gnu dot org
` (5 subsequent siblings)
8 siblings, 0 replies; 14+ messages in thread
From: mueller at gcc dot gnu dot org @ 2006-05-08 10:07 UTC (permalink / raw)
To: gcc-bugs
------- Comment #5 from mueller at gcc dot gnu dot org 2006-05-08 10:06 -------
I'll try taking care.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22303
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug tree-optimization/22303] CCP does not handle STRING_CSTs
[not found] <bug-22303-6528@http.gcc.gnu.org/bugzilla/>
` (2 preceding siblings ...)
2006-05-08 10:07 ` mueller at gcc dot gnu dot org
@ 2006-05-08 15:06 ` pinskia at gcc dot gnu dot org
2006-05-08 15:53 ` pinskia at gcc dot gnu dot org
` (4 subsequent siblings)
8 siblings, 0 replies; 14+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-05-08 15:06 UTC (permalink / raw)
To: gcc-bugs
------- Comment #6 from pinskia at gcc dot gnu dot org 2006-05-08 15:06 -------
This is unrelated to that patch I think.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22303
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug tree-optimization/22303] CCP does not handle STRING_CSTs
[not found] <bug-22303-6528@http.gcc.gnu.org/bugzilla/>
` (3 preceding siblings ...)
2006-05-08 15:06 ` pinskia at gcc dot gnu dot org
@ 2006-05-08 15:53 ` pinskia at gcc dot gnu dot org
2006-05-08 16:01 ` pinskia at gcc dot gnu dot org
` (3 subsequent siblings)
8 siblings, 0 replies; 14+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-05-08 15:53 UTC (permalink / raw)
To: gcc-bugs
------- Comment #7 from pinskia at gcc dot gnu dot org 2006-05-08 15:53 -------
*** Bug 27497 has been marked as a duplicate of this bug. ***
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22303
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug tree-optimization/22303] CCP does not handle STRING_CSTs
[not found] <bug-22303-6528@http.gcc.gnu.org/bugzilla/>
` (4 preceding siblings ...)
2006-05-08 15:53 ` pinskia at gcc dot gnu dot org
@ 2006-05-08 16:01 ` pinskia at gcc dot gnu dot org
2006-05-15 19:26 ` patchapp at dberlin dot org
` (2 subsequent siblings)
8 siblings, 0 replies; 14+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-05-08 16:01 UTC (permalink / raw)
To: gcc-bugs
------- Comment #8 from pinskia at gcc dot gnu dot org 2006-05-08 16:01 -------
(In reply to comment #4)
> Patch with discussion:
> http://gcc.gnu.org/ml/gcc-patches/2006-04/msg01038.html
This is unrelated to that patch, PR 26781 references (in passing) what that
patch fixes.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22303
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug tree-optimization/22303] CCP does not handle STRING_CSTs
[not found] <bug-22303-6528@http.gcc.gnu.org/bugzilla/>
` (5 preceding siblings ...)
2006-05-08 16:01 ` pinskia at gcc dot gnu dot org
@ 2006-05-15 19:26 ` patchapp at dberlin dot org
2006-05-16 15:34 ` rguenth at gcc dot gnu dot org
2006-05-16 15:34 ` rguenth at gcc dot gnu dot org
8 siblings, 0 replies; 14+ messages in thread
From: patchapp at dberlin dot org @ 2006-05-15 19:26 UTC (permalink / raw)
To: gcc-bugs
------- Comment #9 from patchapp at dberlin dot org 2006-05-15 19:25 -------
Subject: Bug number PR22303
A patch for this bug has been added to the patch tracker.
The mailing list url for the patch is
http://gcc.gnu.org/ml/gcc-patches/2006-05/msg00332.html
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22303
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug tree-optimization/22303] CCP does not handle STRING_CSTs
[not found] <bug-22303-6528@http.gcc.gnu.org/bugzilla/>
` (6 preceding siblings ...)
2006-05-15 19:26 ` patchapp at dberlin dot org
@ 2006-05-16 15:34 ` rguenth at gcc dot gnu dot org
2006-05-16 15:34 ` rguenth at gcc dot gnu dot org
8 siblings, 0 replies; 14+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2006-05-16 15:34 UTC (permalink / raw)
To: gcc-bugs
------- Comment #11 from rguenth at gcc dot gnu dot org 2006-05-16 15:34 -------
Fixed.
--
rguenth 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=22303
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug tree-optimization/22303] CCP does not handle STRING_CSTs
[not found] <bug-22303-6528@http.gcc.gnu.org/bugzilla/>
` (7 preceding siblings ...)
2006-05-16 15:34 ` rguenth at gcc dot gnu dot org
@ 2006-05-16 15:34 ` rguenth at gcc dot gnu dot org
8 siblings, 0 replies; 14+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2006-05-16 15:34 UTC (permalink / raw)
To: gcc-bugs
------- Comment #10 from rguenth at gcc dot gnu dot org 2006-05-16 15:34 -------
Subject: Bug 22303
Author: rguenth
Date: Tue May 16 15:34:12 2006
New Revision: 113826
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=113826
Log:
2006-05-16 Richard Guenther <rguenther@suse.de>
PR tree-optimization/22303
* tree-ssa-ccp.c (fold_const_aggregate_ref): Handle reads
from STRING_CSTs.
(evaluate_stmt): Fall back to fold_const_aggregate_ref, if
ccp_fold did not simplify the statement.
* gcc.dg/tree-ssa/ssa-ccp-13.c: New testcase.
Added:
trunk/gcc/testsuite/gcc.dg/tree-ssa/ssa-ccp-13.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/testsuite/ChangeLog
trunk/gcc/tree-ssa-ccp.c
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22303
^ permalink raw reply [flat|nested] 14+ messages in thread