From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Andreas Schwab Newsgroups: gmane.emacs.devel Subject: Re: display word wrapping Date: Mon, 31 May 2004 17:27:55 +0200 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: References: <20040530175117.C69B.LEKTU@mi.madritel.es> <9003-Sun30May2004202740+0300-eliz@gnu.org> <20040531013831.AA50.LEKTU@mi.madritel.es> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1086017325 5011 80.91.224.253 (31 May 2004 15:28:45 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 31 May 2004 15:28:45 +0000 (UTC) Cc: Juanma Barranquero , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Mon May 31 17:28:38 2004 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1BUoiL-0008K3-00 for ; Mon, 31 May 2004 17:28:37 +0200 Original-Received: from lists.gnu.org ([199.232.76.165]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1BUoiL-0003MX-00 for ; Mon, 31 May 2004 17:28:37 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1BUoiX-0001jE-4v for emacs-devel@quimby.gnus.org; Mon, 31 May 2004 11:28:49 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1BUoiQ-0001im-ND for emacs-devel@gnu.org; Mon, 31 May 2004 11:28:42 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1BUoiO-0001i4-T8 for emacs-devel@gnu.org; Mon, 31 May 2004 11:28:42 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1BUoiO-0001hr-QL for emacs-devel@gnu.org; Mon, 31 May 2004 11:28:40 -0400 Original-Received: from [195.135.220.2] (helo=Cantor.suse.de) by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.34) id 1BUohg-0008TC-TK; Mon, 31 May 2004 11:27:57 -0400 Original-Received: from hermes.suse.de (hermes-ext.suse.de [195.135.221.8]) (using TLSv1 with cipher EDH-RSA-DES-CBC3-SHA (168/168 bits)) (No client certificate requested) by Cantor.suse.de (Postfix) with ESMTP id AF05665E128; Mon, 31 May 2004 17:27:55 +0200 (CEST) Original-To: Eli Zaretskii X-Yow: Yow! Are we laid back yet? In-Reply-To: (Eli Zaretskii's message of "31 May 2004 09:34:34 +0200") User-Agent: Gnus/5.110002 (No Gnus v0.2) Emacs/21.3.50 (gnu/linux) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:24281 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:24281 Eli Zaretskii writes: >> Date: Mon, 31 May 2004 02:40:19 +0200 >> From: Juanma Barranquero >>=20 >> > How exactly is img->spec invalid? Can you post the details (xtype >> > etc.)? >>=20 >> Basically, img points to nowhere, so img->spec is some random value. > > Ah, yes, I forgot that Windows doesn't Page Fault on NULL pointer > dereferences, but instead fetches some random garbage... > >> > If you change it to >> >=20 >> > volatile struct image *img; >> >=20 >> > does the problem go away as well? >>=20 >> No. > > This probably means that the optimizer is not in itself the direct > culprit here, as declaring img `volatile' should have prevented the > compiler from keeping it in a register. The use of volatile as above does not mark img as volatile, only the memory it points to. Andreas. --=20 Andreas Schwab, SuSE Labs, schwab@suse.de SuSE Linux AG, Maxfeldstra=DFe 5, 90409 N=FCrnberg, Germany Key fingerprint =3D 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."