http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59803
--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Thanks, looks good to me in my testing (s390-linux and s390x-linux --enable-checking=release 4.8 branch --with-arch=z196 --with-tune=zEC12 bootstraps/regtests), and it even fixed one FAIL in the testsuite: -FAIL: gcc.dg/torture/vshuf-v32qi.c -O2 (internal compiler error) -FAIL: gcc.dg/torture/vshuf-v32qi.c -O2 (test for excess errors) -UNRESOLVED: gcc.dg/torture/vshuf-v32qi.c -O2 compilation failed to produce executable which apparently ICEd the same way with e.g. -O2 -march=z10 or -O2 -march=z196 without the patch and doesn't with the patch. Though I'd say the #c0 testcase doesn't hurt, can you please add it to say gcc.c-torture/compile/ (or gcc.dg/torture/)?