compiler crashes during optimizations
 | 
 | 
| Bugzilla Link | 
31 | 
| Created on | 
Nov 05, 2003 15:20 | 
| Resolution | 
FIXED | 
| Resolved on | 
Nov 06, 2003 16:44 | 
| Version | 
1.00beta | 
| OS | 
All | 
| Architecture | 
All | 
Extended Description
Code to recover:
import StdIO: all;
#define EMPTY _drop_SxV_(1,[1])
#include "NTCtemplates.mac"
int main()
{
  vect = [1,2,3,4,5,6,7,8,9];
  mat = [ vect, vect+10, vect+20];
#if 1
  a = mat[[...,.]];
  print( a);
#endif
#if 1
  a = mat[[.,...,.]];
  print( a);
#endif
  return(0);
}
Compiler call was:
sac2c -g -O3 -sbs -fun2lac 7 -ssa -noTSI -noAP -maxlur 3 -maxwlur 12