|
From: | Paolo Bonzini |
Subject: | Re: [PATCH 1/4] Support GCC LTO on GNU/Linux. |
Date: | Tue, 06 Apr 2010 23:39:34 +0200 |
User-agent: | Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.8) Gecko/20100301 Fedora/3.0.3-1.fc12 Lightning/1.0b2pre Thunderbird/3.0.3 |
On 04/06/2010 04:01 AM, Charles Wilson wrote:
> As for whether it would get dropped if you did, I'd imagine that's quite > plausible; you might want to add a volatile qualifier.'static volatile const char * MAGIC = ...' ^^^^^^^^^^^^^^ err...maybe just 'volatile'!
Volatile const _does_ make sense to the compiler, believe it or not. :-) Paolo
[Prev in Thread] | Current Thread | [Next in Thread] |