clspv
clspv copied to clipboard
clspv crash when switching on an enum
Trying to compile:
typedef enum test_t
{
NONE = 0,
ONE = 1
} test_t;
__kernel void switch_test ()
{
test_t t;
switch(t)
{
default: break;
}
}
Results in a crash:
IsSupportedType lacks support for QualType: __private test_t
Type not covered by IsSupportedType.
UNREACHABLE executed at /srv/users/gleese/vc5/clspv/lib/FrontendPlugin.cpp:255!