Bug 39710 - emits gravely misaligned loops

Summary: emits gravely misaligned loops