-
Bug
-
Resolution: Cannot Reproduce
-
Medium
-
Code Generation Tools
-
CODEGEN-6705
-
C7000_1.3.0.STS
-
C7000_1.4.0.LTS*
-
default
-
Incidentally fixed by commit b19c0b6d51c
The following customer code crashes the parser.
#include <c7x.h>
short32 foo(short32 vOut, short32 *pOut)
{ __SA0ADV(short32, pOut) = __deal_stride2(vOut); }% cl7x -mv7100 t.cpp
"t.cpp", line 5: error: expression must be a modifiable lvalue
"t.cpp", line 5: internal error: assertion failed: check_cl_lvalue_expr: bad expr (../../master/ANSI/opencl.c, line 2087)
1 error and 1 catastrophic error detected in the compilation of "t.cpp".
Compilation aborted.
INTERNAL ERROR: acpia7x had an internal inconsistency and aborted
while processing function foo file t.cpp line 5