Error messages from hell: foldfix stopper value causes confusion
|
|
Bugzilla Link |
967 |
Created on |
Jun 04, 2012 00:11 |
Version |
svn |
OS |
Linux |
Architecture |
PC |
Attachments |
crud.sac |
Extended Description
Created an attachment (id=892)
source code to reproduce fault
** 11: Enhancing with-loops ...
**** Introducing explicit accumulators ...
flatten/ExplicitAccumulate.c:252 Assertion "eq_funap != NULL" failed!
sacprelude::eq not found
The problem is here:
inline bool andslXBBQUICKSTOP(bool[.] y)
{ /* First/last axis reduction of vector with quick stop*/
z = with {
(0*shape(y) <= iv < shape(y))
: BtoB(y[iv]);
} : foldfix( andBBB, true, 0);
return(z);
}
The "0" in the foldfix is wrong, but the error message
is not exactly informative.