Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Nov 2002 22:10:09 +0900
From:      TOMITA Yoshinori <yoshint@flab.fujitsu.co.jp>
To:        Poul-Henning Kamp <phk@critter.freebsd.dk>
Cc:        TOMITA Yoshinori <yoshint@flab.fujitsu.co.jp>, FreeBSD-current@FreeBSD.ORG
Subject:   Re: gcc 3.2.1 optimization bug ?
Message-ID:  <ywlbs4wjlqm.fsf@cerberus.proc.flab.fujitsu.co.jp>
In-Reply-To: <53679.1037019317@critter.freebsd.dk> (Poul-Henning Kamp's message of "Mon, 11 Nov 2002 13:55:17 %2B0100")
References:  <ywlvg34jn21.fsf@cerberus.proc.flab.fujitsu.co.jp> <53679.1037019317@critter.freebsd.dk>

next in thread | previous in thread | raw e-mail | index | archive | help
>> On Mon, 11 Nov 2002 13:55:17 +0100, Poul-Henning Kamp
>> <phk@critter.freebsd.dk> said:

P> Your code forgot to tell the compiler that you would be messing
P> with the variables storage directly.

Thanks!
I have never dreamed to use "volatile" here.
As gcc-2.95.x -O2/-O3 was OK without volatile, I thought this must be
gcc-3.2 bug.

Thanks a lot, again.

-- 
TOMITA Yoshinori

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ywlbs4wjlqm.fsf>