* Fix for PR 48988
@ 2011-05-23 8:59 Xinliang David Li
2011-05-23 10:09 ` Richard Guenther
0 siblings, 1 reply; 2+ messages in thread
From: Xinliang David Li @ 2011-05-23 8:59 UTC (permalink / raw)
To: GCC Patches
[-- Attachment #1: Type: text/plain, Size: 370 bytes --]
Hi, the following trial patch fixed PR 48988 which is a regression.
Bootstrap and tested on x86/linux. Verified the reported failure is fixed.
Ok for trunk?
David
2011-05-22 David Li <davidxl@google.com>
PR tree-optimization/48988
* tree-ssa-uninit.c (convert_control_dep_chain_into_preds):
Initialize has_valid_pred for each pred chain.
[-- Attachment #2: u.p --]
[-- Type: application/octet-stream, Size: 644 bytes --]
2011-05-22 David Li <davidxl@google.com>
PR tree-optimization/48988
* tree-ssa-uninit.c (convert_control_dep_chain_into_preds):
Initialize has_valid_pred for each pred chain.
Index: tree-ssa-uninit.c
===================================================================
--- tree-ssa-uninit.c (revision 173837)
+++ tree-ssa-uninit.c (working copy)
@@ -358,6 +358,8 @@ convert_control_dep_chain_into_preds (VE
for (i = 0; i < num_chains; i++)
{
VEC(edge, heap) *one_cd_chain = dep_chains[i];
+
+ has_valid_pred = false;
for (j = 0; j < VEC_length (edge, one_cd_chain); j++)
{
gimple cond_stmt;
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Fix for PR 48988
2011-05-23 8:59 Fix for PR 48988 Xinliang David Li
@ 2011-05-23 10:09 ` Richard Guenther
0 siblings, 0 replies; 2+ messages in thread
From: Richard Guenther @ 2011-05-23 10:09 UTC (permalink / raw)
To: Xinliang David Li; +Cc: GCC Patches
On Mon, May 23, 2011 at 1:14 AM, Xinliang David Li <davidxl@google.com> wrote:
> Hi, the following trial patch fixed PR 48988 which is a regression.
>
> Bootstrap and tested on x86/linux. Verified the reported failure is fixed.
>
> Ok for trunk?
Ok.
Thanks,
Richard.
> David
>
>
> 2011-05-22 David Li <davidxl@google.com>
>
> PR tree-optimization/48988
> * tree-ssa-uninit.c (convert_control_dep_chain_into_preds):
> Initialize has_valid_pred for each pred chain.
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-05-23 9:25 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-05-23 8:59 Fix for PR 48988 Xinliang David Li
2011-05-23 10:09 ` Richard Guenther
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).