more ices
[ICEs.git] / 287391 / reduce-ice
1 #!/bin/bash
2 #
3 # Run like:
4 # multidelta -level=# ./reduce-ice $FILE
5 # levels: 0 0 1 1 2 2 10 10
6 #
7
8 FILE=svolume_mmx.i
9 CC=gcc
10 CFLAGS="-O1 -fweb"
11
12 num=$($CC -pipe -c $CFLAGS $FILE 2>&1 | grep "error: invalid 'asm': invalid expression as operand" | wc -l)
13 [ $num -eq 3 ]