Tiling with mt corrupts the AST
|
|
Bugzilla Link |
704 |
Created on |
May 05, 2010 17:10 |
Resolution |
WORKSFORME |
Resolved on |
Jul 16, 2010 15:18 |
Version |
svn |
OS |
All |
Architecture |
PC |
Attachments |
matmul.sac |
Extended Description
Created an attachment (id=691)
source code
sac2c 16810
stdlib 1350
developer version
sac2c -mt matmul.sac -O3 seg faults
Breaking after 17:mtstf works
Breaking after 17:mtspmdf exposes a corrupt ast.
** 17: Running automatic parallelisation ...
**** Running multithreading cost model ...
**** Creating MT and ST functions ...
**** Creating SPMD functions ...
WARNING: Field Contents of node N_WLseg has non-allowed target node:
WARNING: N_wlblock
ASSERTION FAILED: file 'tree/traverse_helper.c', line 32
Illegal node type found.
EXECUTION TERMINATED
Aborted
This all works if tiling is removed or if the code is run without mt.