[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: display word wrapping
From: |
Andreas Schwab |
Subject: |
Re: display word wrapping |
Date: |
Mon, 31 May 2004 17:27:55 +0200 |
User-agent: |
Gnus/5.110002 (No Gnus v0.2) Emacs/21.3.50 (gnu/linux) |
Eli Zaretskii <address@hidden> writes:
>> Date: Mon, 31 May 2004 02:40:19 +0200
>> From: Juanma Barranquero <address@hidden>
>>
>> > How exactly is img->spec invalid? Can you post the details (xtype
>> > etc.)?
>>
>> 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
>> >
>> > volatile struct image *img;
>> >
>> > does the problem go away as well?
>>
>> 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.
--
Andreas Schwab, SuSE Labs, address@hidden
SuSE Linux AG, Maxfeldstraße 5, 90409 Nürnberg, Germany
Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
- Re: display word wrapping, (continued)
- Re: display word wrapping, Eli Zaretskii, 2004/05/31
- Re: display word wrapping, Juanma Barranquero, 2004/05/31
- Re: display word wrapping, Juanma Barranquero, 2004/05/31
- Re: display word wrapping, Andreas Schwab, 2004/05/31
- Re: display word wrapping, Juanma Barranquero, 2004/05/31
- Re: display word wrapping, Miles Bader, 2004/05/31
- Re: display word wrapping, Juanma Barranquero, 2004/05/31
- Re: display word wrapping, Jason Rumney, 2004/05/31
- Re: display word wrapping,
Andreas Schwab <=
- Re: display word wrapping, Juanma Barranquero, 2004/05/31
- Re: display word wrapping, Jason Rumney, 2004/05/31
- Re: display word wrapping, Juanma Barranquero, 2004/05/31
- Re: display word wrapping, Benjamin Riefenstahl, 2004/05/28
- Re: display word wrapping, Juanma Barranquero, 2004/05/28
- W32 image support (was Re: display word wrapping), Jason Rumney, 2004/05/27
- Re: display word wrapping, Peter Lee, 2004/05/28
- Re: display word wrapping, Jason Rumney, 2004/05/28
- Re: display word wrapping, Juanma Barranquero, 2004/05/29
- Re: display word wrapping, Kim F. Storm, 2004/05/29