X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f Date: Wed, 18 Apr 2007 11:29:03 -0400 Message-Id: <200704181529.l3IFT3UV004286@localhost.localdomain> From: DJ Delorie To: djgpp AT delorie DOT com In-reply-to: (alexfru@chat.ru) Subject: Re: gcc bug? References: Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk Part of the problem may be that your volatile variable is on the stack, rather than being a global or static variable. You've also defined it as "pointer to volatile T" not "volatile pointer to T".