- {
- /* Work round an optimiser bug in Solaris Studio 12.3:
- * for some reason, the presence of the __assert() in
- * av_tindex_nomg() causes the value of fence to get
- * corrupted, even though the assert is never called. So
- * save the value then restore afterwards.
- * Note that in fact merely accessing the value of fence
- * prior to the statement containing the assert is enough
- * to make the bug go away.
- */
- IV f = fence;
- top_index = av_tindex_nomg(stack);
- fence = f;
- }
-