https://gcc.gnu.org/bugzilla/show_bug.cgi?id=128163

yuki.tanaka at defaultcase dot de changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|INVALID                     |FIXED

--- Comment #2 from yuki.tanaka at defaultcase dot de ---
(In reply to Drea Pinski from comment #1)
> This is undefined code.
> 
> unsequenced means it is stateless.

Yes, and a is stateless. The only requirements for being stateless are that
objects that are static or have a thread storage duration that are defined in a
or functions it calls are const. a does not define any so it's automatically
stateless.

Reply via email to