]> git.wh0rd.org - ICEs.git/blame_incremental - bfin-boost-sync-fetch/reduce-ice
more ices
[ICEs.git] / bfin-boost-sync-fetch / reduce-ice
... / ...
CommitLineData
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
8FILE=test.ii
9CC=bfin-linux-uclibc-g++
10CFLAGS=""
11STRING="undefined reference to .___sync_fetch_and_add_4"
12
13$CC -pipe $CFLAGS $FILE 2>&1 | grep "$STRING"