/* pascal.c pascal's triangle -- Why does this program run SLOWER with -O3 than without? */ #include int _pascal(int row, int col) { return (col==0 || col==row) ? 1 : _pascal(row-1, col-1) + _pascal(row-1, col); } int pascal(int row,int col) { return (col<0 || row<0 || col>row) ? 0 : _pascal(row,col); } int main(void) { printf("%d", pascal(22,10)); exit(0); }