more ices
[ICEs.git] / s390x / 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=rtld.i
9 CC=s390x-ibm-linux-gnu-gcc
10 CFLAGS="-std=gnu99 -fpic -O1"
11 STRING="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