Re: [arm-gnu] Access to volatile bit-fields
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [arm-gnu] Access to volatile bit-fields



On 8/30/2010 10:42 AM, Ryan Lishman wrote:
I'm using arm-none-eabi 2010q1-188. I see that for code targeting armv6-m,
accesses to volatile bit-fields do not honour the access width of the
declared bit-field as required by the ABI (Procedure call standard for the
ARM architecture, section 7.1.7.5), but instead use the narrowest access
width available.

Is this a bug? I see it relates to GCC bug 23623
(http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23623), which says that this
bug should be fixed by gcc 4.2.0.

Ryan,

Do you have a clear test case that shows the tools are not generating accesses as specified by the ABI? The test case should include source, steps to build, and observed vs. expected behaviour.

We always interested in fixing bugs, and given a test case, it's easier for us to discuss the problem.

Cheers,
Carlos.
--
Carlos O'Donell
CodeSourcery
carlos@xxxxxxxxxxxxxxxx
(650) 331-3385 x716