From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18689 invoked by alias); 9 Jul 2008 13:25:49 -0000 Received: (qmail 18680 invoked by uid 22791); 9 Jul 2008 13:25:47 -0000 X-Spam-Check-By: sourceware.org Received: from rn-out-0910.google.com (HELO rn-out-0910.google.com) (64.233.170.184) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 09 Jul 2008 13:25:30 +0000 Received: by rn-out-0910.google.com with SMTP id j67so835501rne.5 for ; Wed, 09 Jul 2008 06:25:27 -0700 (PDT) Received: by 10.151.78.15 with SMTP id f15mr2326029ybl.210.1215609926899; Wed, 09 Jul 2008 06:25:26 -0700 (PDT) Received: by 10.151.154.14 with HTTP; Wed, 9 Jul 2008 06:25:26 -0700 (PDT) Message-ID: Date: Wed, 09 Jul 2008 13:43:00 -0000 From: "Andrew Bell" To: "James Gregory" 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: 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/msg00112.txt.bz2 On Tue, Jul 8, 2008 at 9:31 PM, James Gregory wrote: > > 4. Compile with gcc 4.2.3 (Ubuntu 64 bit), with optimization: my > program freezes in a particular function Kill the process with some signal that will generate a core. This at least gives you a exact location of the hang, if you don't already know it. -- Andrew Bell andrew.bell.ia@gmail.com