GTK Crash occuring only with -fllvm
I have moderately complex program written for sound synthesis course.
The largest part comprises of GUI written in GTK, the sound part is fairly small.
When compiling with -fllvm -O2 the program segfaults immediately after launch in IA__FcPatternBuild ()
from /usr/lib/libfontconfig.so.1
. Turing off optimizations or linking with native code gen doesn't trigger the bug.
I also tried small, test GTK program but it also doesn't trigger this behaviour.
Hence I attach the program verbatim in case someone might be able to reproduce the bug and pin it down.
Obviously the bug might not be in LLVM codegen but it only happens to trigger it, so I set the Component to Compiler at whole.