Created attachment 37370 [details] preprocessed source seen with the current gcc-5-branch, as well with a cross compiler, -O2 works, 4.9 and trunk work as well. $ s390x-linux-gnu-gcc -std=c99 -Wall -march=zEC12 -O2 -c tiny_psnr.i
Killed just means you don't have enough memory. So, if there is some regression, it would be only if compiling the same preprocessed source takes unreasonably more memory compared to older (or in this case also newer) gcc.
4.9 and 6 build within under a second, I didn't even look at the memory usage. 5 was killed automatically on a VM with 8G RAM + 6G swap; killed the cross build manually when reaching 16GB.
sorry, that should be -O3: s390x-linux-gnu-gcc -std=c99 -Wall -march=zEC12 -O3 -c tiny_psnr.i
GCC 5.4 is being released, adjusting target milestone.
Created attachment 40234 [details] auto-reduced testcase Fails with -O3 -march=z196. Endless loop in VRP with GCC 5. Works fine with GCC 6 branch.
GCC 5 branch has been closed, should be fixed in GCC 6 and later.