Hello, Bram.
How should I debug the frontend (currently recompiling with debugging
support), as there are various threads/processes involved? Should I
file a bug report?
I filled bug report. This is bug in one of LLVM's optimization passes.
You can monitor it at llvm.org/PR1446. You can workaround it now by
passing -O0 to "bad" file.
Thanks!