Hui scheduler benchmark schedr.sac has undefined AVIS_SHAPE in loopfun
|
|
Bugzilla Link |
1004 |
Created on |
Jul 13, 2012 22:05 |
Resolution |
FIXED |
Resolved on |
Aug 07, 2012 23:26 |
Version |
svn |
OS |
Linux |
Architecture |
PC |
Attachments |
schedr.sac |
Extended Description
Created an attachment (id=917)
source code to reproduce fault
This one took a lot of digging to isolate, and I'm still not done...
**** Final round of constant folding ...
-> Running syntax tree checks
**** Generating full with-loop partitions ...
-> Running syntax tree checks
**** Inferencing with-loop reuse candidates ...
tree/DataFlowMask.c:1147 Assertion "imask_base->num_ids" failed!
Identifier not present in mask: _dl_35688
apex@rattler:~/apex3/benchmks/schedr$ sac2c schedr.sac -v4 -doawlf -nowlf -d treecheck -chkfreq 4
sac2c -V
sac2c v1.00-beta (Haggis And Apple)
developer rev 18066 linux-gnu_x86_64
(Thu Jul 12 16:08:09 EDT 2012 by sac)
The problem lies elsewhere: _dl_35688 is defined outside a LOOPFUN,
but is referenced inside it.
The real problem is that AWLF has converted a modarray-WL into
a genarray-WL in the course of doing its job, but the AVIS_SHAPE
value that it uses is undefined in the loop function.
More to come...