more ices
[ICEs.git] / s390x / 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=rtld.i
9CC=s390x-ibm-linux-gnu-gcc
10CFLAGS="-std=gnu99 -fpic -O1"
11STRING="unrecognizable insn"
12
13$CC -pipe -c $CFLAGS $FILE 2>&1 | grep "$STRING"
14
15#rtld.c: In function '_dl_start':
16#rtld.c:562: error: unrecognizable insn:
17#(insn 53 52 54 5 (set (reg:DI 103)
18# (const:DI (plus:DI (symbol_ref:DI ("_rtld_local") [flags 0x2] <var_decl 0x20000672580 _rtld_local>)
19# (const_int -14595029256 [0xfffffffc9a1186f8])))) -1 (nil)
20# (nil))
21#rtld.c:562: internal compiler error: in extract_insn, at recog.c:2084