print.c array printing bug
Bugzilla Link | 14 |
Created on | Jun 10, 2003 14:42 |
Resolution | FIXED |
Resolved on | Jun 11, 2003 17:14 |
Version | 1.00beta |
OS | SunOS |
Architecture | Sun |
Extended Description
compiler segfaults when printing arrays. how to reproduce: compile the following code with sac2c -b2 int main() { v = [1,2,3,4]; m = [v, v, v]; a = [m,m]; tmp = {[k] -> a[[0,...,k]] }; a = { [i,j] -> tmp[[j,i]] }; return( a[[0,0]]); }