Created attachment 17900 [details]
Offending shader code
The attached vertex shader causes the GLSL compiler to segfault. Simply copy the shader to progs/demos/vstest.txt and run progs/demos/vstest. The problem seems to be that 'mat2 foo = bar();' is at global scope (i.e., not inside a function). I think this is valid GLSL, but, even if it isn't, it shouldn't cause the compiler to segfault.
segfault fixed in git/master. Though, the initialization of the global probably isn't done correctly yet.
Mass version move, cvs -> git
Other than the implicit conversion, glsl2 is fine with this.
on Aug 28, 2016 at 08:38:25.
(provided by the Example extension).