PM module fails on functions with more than one return value
|
|
Bugzilla Link |
843 |
Created on |
Apr 26, 2011 14:01 |
Resolution |
FIXED |
Resolved on |
Apr 26, 2011 14:08 |
Version |
svn |
OS |
All |
Architecture |
PC |
Attachments |
kernel.sac |
Extended Description
Created an attachment (id=801)
source code
This is a hair-raising bug that stems from the way implicit expression flattening is being implemented.
Compiling the attached code in rev 17384 leads to:
-sbs-idefix2-> sac2c kernel.sac
ABORT: line 119 file: ArrayArith.sac
ABORT: SCSprf_div_XxS: Division by zero encountered
*** Compilation failed ***
*** Exit code 89 (Running SAC optimizations)
*** 1 Error(s), 0 Warning(s)