-
Bug
-
Resolution: Fixed
-
Medium
-
Code Generation Tools
-
CODEGEN-2534
-
-
-
The programmer should complete the initialization for each real and imaginary lane.
The compiler will terminate abnormally when source code contains an incomplete complex initialization as below
$ cat foo.c
#include <c7x.h>
cchar2 foo()
$ cl7x foo.c
"foo.c", line 3: error: (OpenCL) Cannot auto-widen "signed char" into "cchar2"
"foo.c", line 3: internal error: assertion failed at: "../../master/ANSI/opencl.c", line 1184
1 error and 1 catastrophic error detected in the compilation of "foo.c".
Compilation aborted.
INTERNAL ERROR: acpia7x had an internal inconsistency and aborted
while processing function foo file foo.c line 3