It goes on indefinitely. I have reverted back to version 12.11 for now.It would be really nice if you could provide a minimal sample (a stripped version of your project?!) to reproduce...
try this new one http://speedy.sh/gkAjd/cc-crash.zip . I've added all the files.Oh my god, you need to download an exe file named cc-crash.zip.exe....... I don't want to do that.
...
try this new one http://www.sendspace.com/file/s9mpzg. I've added all the files.I can confirm the hang bug.
steps to reproduce:
1.unzip directory
2.make sure that you have codecomplete enabled
3.open 386.c by clicking on it in Explorer or from inside IDE/File/Open
4.after file loaded, go to second line with down button - http://clip2net.com/s/6EHELo
*** EDITED
#define opBT(name, operation) \
static int opBT ## name ## _w_r_a16(uint32_t fetchdat) \
{ \
int tempc; \
uint16_t temp; \
\
fetch_ea_16(fetchdat); \
eaaddr += ((regs[reg].w / 16) * 2); eal_r = eal_w = 0; \
temp = geteaw(); if (abrt) return 0; \
tempc = (temp & (1 << (regs[reg].w & 15))) ? 1 : 0; \
temp operation (1 << (regs[reg].w & 15)); \
seteaw(temp); if (abrt) return 0; \
flags_rebuild(); \
if (tempc) flags |= C_FLAG; \
else flags &= ~C_FLAG; \
\
cycles -= 6; \
return 0; \
} \
static int opBT ## name ## _w_r_a32(uint32_t fetchdat) \
{ \
int tempc; \
uint16_t temp; \
\
fetch_ea_32(fetchdat); \
eaaddr += ((regs[reg].w / 16) * 2); eal_r = eal_w = 0; \
temp = geteaw(); if (abrt) return 0; \
tempc = (temp & (1 << (regs[reg].w & 15))) ? 1 : 0; \
temp operation (1 << (regs[reg].w & 15)); \
seteaw(temp); if (abrt) return 0; \
flags_rebuild(); \
if (tempc) flags |= C_FLAG; \
else flags &= ~C_FLAG; \
\
cycles -= 6; \
return 0; \
} \
static int opBT ## name ## _l_r_a16(uint32_t fetchdat) \
{ \
int tempc; \
uint32_t temp; \
\
fetch_ea_16(fetchdat); \
eaaddr += ((regs[reg].l / 32) * 4); eal_r = eal_w = 0; \
temp = geteal(); if (abrt) return 0; \
tempc = (temp & (1 << (regs[reg].l & 31))) ? 1 : 0; \
temp operation (1 << (regs[reg].l & 31)); \
seteal(temp); if (abrt) return 0; \
flags_rebuild(); \
if (tempc) flags |= C_FLAG; \
else flags &= ~C_FLAG; \
\
cycles -= 6; \
return 0; \
} \
static int opBT ## name ## _l_r_a32(uint32_t fetchdat) \
{ \
int tempc; \
uint32_t temp; \
\
fetch_ea_32(fetchdat); \
eaaddr += ((regs[reg].l / 32) * 4); eal_r = eal_w = 0; \
temp = geteal(); if (abrt) return 0; \
tempc = (temp & (1 << (regs[reg].l & 31))) ? 1 : 0; \
temp operation (1 << (regs[reg].l & 31)); \
seteal(temp); if (abrt) return 0; \
flags_rebuild(); \
if (tempc) flags |= C_FLAG; \
else flags &= ~C_FLAG; \
\
cycles -= 6; \
return 0; \
}
opBT(C, ^=)
opBT(R, &=~)
opBT(S, |=)
[debug]> p m_Str
[debug]$3 = "int int int int int int int int int int int int int int int int int int int int int int int int int int int int int int int int int int int int int int int int int int int int int int int int int int "...
[debug]>>>>>>cb_gdb:
$3 = "int int int int int int int int int int int int int int int int int int int int int int int int int int int int int int int int int int int int int int int int int int int int int int int int int int "...
> p m_Str.size()
[debug]> p m_Str.size()
[debug]$4 = 131788
[debug]>>>>>>cb_gdb:
[debug]> whatis m_RepeatReplaceCount
[debug]type = size_t
[debug]>>>>>>cb_gdb:
[debug]> output &m_RepeatReplaceCount
[debug](size_t *) 0x90d7d70>>>>>>cb_gdb:
[debug]> output m_RepeatReplaceCount
[debug]65898>>>>>>cb_gdb:
[debug]> whatis savedReplaceCount
[debug]type = int
[debug]>>>>>>cb_gdb:
[debug]> output &savedReplaceCount
[debug](int *) 0xe09fca8>>>>>>cb_gdb:
[debug]> output savedReplaceCount
[debug]65896>>>>>>cb_gdb:
Can you link me to the binary with that fix ?http://forums.codeblocks.org/index.php/topic,18853.0.html