please go ahead. And good finding :-)
Sun
On Tue, May 1, 2012 at 2:06 PM, Yulei Sui <rocky...@gmail.com> wrote:
> Hello,
>
> There is a simple bug in method "Post_dominate" in file be/com/cfg_bash.h.
> A boolean return value is missed after the do-while loop. Compiler may
> generate unexpected code(whenever invoking Post_dominate method, it is
> always return true if using opt-version compiler).
>
> The patch is as follows:
>
> Index: osprey/be/com/cfg_base.h
>
> ===================================================================
> --- osprey/be/com/cfg_base.h (revision 3922)
> +++ osprey/be/com/cfg_base.h (working copy)
> @@ -332,6 +332,7 @@
> else
> node = node->Get_ipdom();
> } while (node != NULL);
> + return FALSE;
> }
>
> // iterators for preds/succs
>
>
> Thanks
>
> Regards
>
>
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> Open64-devel mailing list
> Open64-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/open64-devel
>
>
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Open64-devel mailing list
Open64-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/open64-devel