From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27639 invoked by alias); 12 Jul 2008 21:47:09 -0000 Received: (qmail 27630 invoked by uid 22791); 12 Jul 2008 21:47:09 -0000 X-Spam-Check-By: sourceware.org Received: from fk-out-0910.google.com (HELO fk-out-0910.google.com) (209.85.128.186) by sourceware.org (qpsmtpd/0.31) with ESMTP; Sat, 12 Jul 2008 21:46:52 +0000 Received: by fk-out-0910.google.com with SMTP id 19so2135591fkr.8 for ; Sat, 12 Jul 2008 14:46:48 -0700 (PDT) Received: by 10.86.31.18 with SMTP id e18mr12036693fge.34.1215899208787; Sat, 12 Jul 2008 14:46:48 -0700 (PDT) Received: by 10.86.66.18 with HTTP; Sat, 12 Jul 2008 14:46:48 -0700 (PDT) Message-ID: Date: Sat, 12 Jul 2008 22:11:00 -0000 From: "James Gregory" To: "Chris Jefferson" Subject: Re: Including affects whether or not program freezes? Cc: gcc-help@gcc.gnu.org In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <5cc6b04e0807090949g30d5aacckc170e6068093e5a4@mail.gmail.com> X-IsSubscribed: yes Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org X-SW-Source: 2008-07/txt/msg00164.txt.bz2 On Sat, Jul 12, 2008 at 9:38 PM, James Gregory wrote: In a more readable fashion, the difference between the two versions is: /////////////// Include , no freeze: /////////////// ;; Function bool AIInterpreter::is_group_like_this(int, int, bool, bool) (_ZN13AIInterpreter18is_group_like_thisEiibb) Removing basic block 39 bool AIInterpreter::is_group_like_this(int, int, bool, bool) (this, n_side, n_group, discount_dead, discount_our) { unsigned char temp.4650; unsigned char temp.4649; unsigned char temp.4648; const unsigned char * D.86270; unsigned char D.86219; const unsigned char * D.86202; unsigned char D.86165; const unsigned char * D.86148; :; D.86165 = *D.86148; if (D.86165 == 157) goto ; else goto ; :; if (D.86165 == 158) goto ; else goto ; :; D.86148 = this->l_iter._M_current + 1B; this->l_iter._M_current = D.86148; if (this->l_end._M_current == D.86148) goto ; else goto ; /////////////// Don't include , freeze: /////////////// ;; Function bool AIInterpreter::is_group_like_this(int, int, bool, bool) (_ZN13AIInterpreter18is_group_like_thisEiibb) Removing basic block 39 bool AIInterpreter::is_group_like_this(int, int, bool, bool) (this, n_side, n_group, discount_dead, discount_our) { const unsigned char * this___l_iterthis__I___M_currentthis____.4618; const unsigned char * this___l_iterthis__I___M_currentthis____.4617; const unsigned char * this___l_iterthis__I___M_currentthis____.4616; unsigned char D.86198; unsigned char D.86144; :; this___l_iterthis__I___M_currentthis____.4616 = (const unsigned char *) ((long unsigned int) D.86143 + 1); Invalid sum of incoming frequencies 873, should be 0 :; this___l_iterthis__I___M_currentthis____.4616 = (const unsigned char *) ((long unsigned int) this___l_iterthis__I___M_currentthis____.4616 + 1); if (D.86144 == 157) goto ; else goto ; Invalid sum of incoming frequencies 0, should be 301 :; this->l_iter._M_current = this___l_iterthis__I___M_currentthis____.4616; D.68741 = 0; goto ();