more ices
[ICEs.git] / bfin-ssize / 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=file.i
9 CC=bfin-uclinux-gcc
10 CFLAGS="-Wall"
11 STRING="format '%Zd' expects type 'signed size_t', but argument 5 has type 'ssize_t'"
12
13 $CC -c $CFLAGS $FILE 2>&1 | grep "$STRING"