Page 1 of 1

order of volatile accesses is undefined

Posted: Sat Dec 22, 2012 7:38 pm
by asfarley
Hi,

I'm getting this warning when I include/enable the ICU subsystem:

Warning[Pa082]: undefined behavior: the order of volatile accesses is undefined in this C:\Users\asfarley\Desktop\ChibiOS_2.4.2\ChibiOS_2.4.2\os\hal\platforms\STM32\icu_lld.c 109

This is using IAR-EW. Is this expected? Thanks,

Alexander

Re: order of volatile accesses is undefined

Posted: Sat Dec 22, 2012 7:44 pm
by Giovanni
Hi,

It should be OK but please open a ticket, warnings are not supposed to be present.

Giovanni

Re: order of volatile accesses is undefined

Posted: Sat Dec 22, 2012 8:26 pm
by Giovanni
I created the ticker myself: 3598177

Giovanni