more ices
[ICEs.git] / bfin-rets-insn / reduce-ice
CommitLineData
45516216 1#!/bin/bash
2#
3# Run like:
4# multidelta -level=# ./reduce-ice $FILE
5# levels: 0 0 1 1 2 2 10 10
81f80d8c 6#
45516216 7
8FILE=initramfs.i
9CC=/usr/local/src/blackfin/toolchains/20071218/bfin-uclinux/bin/bfin-uclinux-gcc
10CFLAGS="-O2 -fomit-frame-pointer"
11STRING="internal compiler error: in get_attr_cycles"
12
13$CC -pipe -c $CFLAGS $FILE 2>&1 | grep "$STRING"