https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79240
Bug ID: 79240 Summary: [7 Regression] ICE in s390_extzv_shift_ok, at config/s390/s390.c:2475 Product: gcc Version: unknown Status: UNCONFIRMED Keywords: ice-on-valid-code Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: marxin at gcc dot gnu.org Target Milestone: --- Target: s390x-suse-linux $ cat s390x-ice.i a, b; c () { int d = sizeof (int) * a + 16 - a * sizeof (int) % 16; b = d; } $ ./xgcc -B. /tmp/s390x-ice.i -march=z196 -mtune=zEC12 -m64 -mzarch -O2 wngram2idngram.c: In function ‘main’: wngram2idngram.c:465:1: internal compiler error: in s390_extzv_shift_ok, at config/s390/s390.c:2475 0xe7b265 s390_extzv_shift_ok(int, int, unsigned long) ../../gcc/config/s390/s390.c:2475 0x103c414 recog_36 ../../gcc/config/s390/s390.md:7216 0x103c414 recog_47 ../../gcc/config/s390/vector.md:1036 0x1073935 recog_for_combine_1 ../../gcc/combine.c:11108 0x1075b3e recog_for_combine ../../gcc/combine.c:11364 0x108754f try_combine ../../gcc/combine.c:3824 0x108abbe combine_instructions ../../gcc/combine.c:1429 0x108abbe rest_of_handle_combine ../../gcc/combine.c:14608 0x108abbe execute ../../gcc/combine.c:14653 As I looked at build service, GCC 6 should work fine.