to ollydbg
in a VM xp, i install C::B 8.02, build that code, find the disassembly bug.
i install 5382 patch, rebuild that code, debug it, find the bug exist,
i download [tdm-mingw-1.812.0-f1.exe] (23.8 MB), and install in C:\Program Files\CodeBlocks\MinGW, the bug still exist.
i don't know what is difference your C::B.
Debugger name and version: GNU gdb 6.8
[attachment deleted by admin]