with loop with statically unknown step produces incorrect result
|
|
Bugzilla Link |
510 |
Created on |
Jun 16, 2009 20:51 |
Resolution |
FIXED |
Resolved on |
Nov 18, 2009 23:53 |
Version |
1.00beta |
OS |
Linux |
Architecture |
PC |
Attachments |
bug510.sac |
Extended Description
Created an attachment (id=538)
important blas function giving incorret value
sac compiler version :16132
This function is very important in the implementations of BLAS routines; most BLAS functions call this function.
The function performs a with loop along with step increments.
Without inline the function gives incorrect value. With inline the function gives correct value.
I ran "sac2c inline_bug.sac" to produce this bug. I've annotated the source code with some more details.