Add torture test suite and fix compiler bugs it uncovered

Anthony Green2026-04-11 12:40:08 -0400 01a56d1220d41beeaf2c36562fdd698f81a2e3ff
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>