
#13916: Optimizations create run time seg faults
-------------------------------------+-------------------------------------
Reporter: newthin | Owner: (none)
Type: bug | Status: new
Priority: normal | Milestone:
Component: Compiler | Version: 8.0.2
(CodeGen) |
Resolution: | Keywords: optimization
Operating System: Unknown/Multiple | Architecture:
| Unknown/Multiple
Type of failure: Runtime crash | Test Case:
Blocked By: | Blocking:
Related Tickets: | Differential Rev(s):
Wiki Page: |
-------------------------------------+-------------------------------------
Comment (by bgamari):
Here is my analysis of `stg_takeMVarzh` for future reference,
{{{
stg_takeMVarzh: // $rbx = mvar
<+0>: mov (%rbx),%rax // $rax = info =
GET_INFO(mvar)
<+3>: cmpq $0x94f128,0x18(%rbx) // if (StgMVar_value(mvar) ==
stg_END_TSO_QUEUE_closure)
<+11>: je 0x6ec277