https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79149
--- Comment #1 from Arnd Bergmann <arnd at linaro dot org> --- Additional information: I see the same behavior to a varying degree on most other architectures (but notably not x86) using the preprocessed source from the MIPS kernel configuration, these are always one run with -fno-sched-critical-path-heuristic -fno-sched-dep-count-heuristic and one run without: === /home/arnd/cross-gcc/bin/aarch64-linux-gcc-5.2.1 === ../../crypto/wp512.c:987:1: warning: the frame size of 224 bytes is larger than 100 bytes [-Wframe-larger-than=] ../../crypto/wp512.c:987:1: warning: the frame size of 368 bytes is larger than 100 bytes [-Wframe-larger-than=] === /home/arnd/cross-gcc/bin/alpha-linux-gcc-4.9.3 === ../../crypto/wp512.c:987:1: warning: the frame size of 240 bytes is larger than 100 bytes [-Wframe-larger-than=] ../../crypto/wp512.c:987:1: warning: the frame size of 1136 bytes is larger than 100 bytes [-Wframe-larger-than=] === /home/arnd/cross-gcc/bin/am33_2.0-linux-gcc-4.9.3 === ../../crypto/wp512.c:987:1: warning: the frame size of 2092 bytes is larger than 100 bytes [-Wframe-larger-than=] ../../crypto/wp512.c:987:1: warning: the frame size of 2084 bytes is larger than 100 bytes [-Wframe-larger-than=] === /home/arnd/cross-gcc/bin/am33_2.0-linux-gcc-5.2.1 === ../../crypto/wp512.c:987:1: warning: the frame size of 2084 bytes is larger than 100 bytes [-Wframe-larger-than=] ../../crypto/wp512.c:987:1: warning: the frame size of 2208 bytes is larger than 100 bytes [-Wframe-larger-than=] === /home/arnd/cross-gcc/bin/cris-linux-gcc-4.9.3 === ../../crypto/wp512.c:987:1: warning: the frame size of 272 bytes is larger than 100 bytes [-Wframe-larger-than=] ../../crypto/wp512.c:987:1: warning: the frame size of 272 bytes is larger than 100 bytes [-Wframe-larger-than=] === /home/arnd/cross-gcc/bin/frv-linux-gcc-4.9.3 === ../../crypto/wp512.c:987:1: warning: the frame size of 296 bytes is larger than 100 bytes [-Wframe-larger-than=] ../../crypto/wp512.c:987:1: warning: the frame size of 1128 bytes is larger than 100 bytes [-Wframe-larger-than=] === /home/arnd/cross-gcc/bin/hppa64-linux-gcc-4.9.3 === ../../crypto/wp512.c:987:1: warning: the frame size of 192 bytes is larger than 100 bytes [-Wframe-larger-than=] ../../crypto/wp512.c:987:1: warning: the frame size of 1128 bytes is larger than 100 bytes [-Wframe-larger-than=] === /home/arnd/cross-gcc/bin/hppa-linux-gcc-4.9.3 === ../../crypto/wp512.c:987:1: warning: the frame size of 276 bytes is larger than 100 bytes [-Wframe-larger-than=] ../../crypto/wp512.c:987:1: warning: the frame size of 644 bytes is larger than 100 bytes [-Wframe-larger-than=] === /home/arnd/cross-gcc/bin/i386-linux-gcc-4.9.3 === ../../crypto/wp512.c:987:1: warning: the frame size of 352 bytes is larger than 100 bytes [-Wframe-larger-than=] ../../crypto/wp512.c:987:1: warning: the frame size of 352 bytes is larger than 100 bytes [-Wframe-larger-than=] === /home/arnd/cross-gcc/bin/m32r-linux-gcc-4.9.3 === ../../crypto/wp512.c:987:1: warning: the frame size of 332 bytes is larger than 100 bytes [-Wframe-larger-than=] ../../crypto/wp512.c:987:1: warning: the frame size of 716 bytes is larger than 100 bytes [-Wframe-larger-than=] === /home/arnd/cross-gcc/bin/m68k-linux-gcc-6.0.0 === ../../crypto/wp512.c:987:1: warning: the frame size of 364 bytes is larger than 100 bytes [-Wframe-larger-than=] ../../crypto/wp512.c:987:1: warning: the frame size of 364 bytes is larger than 100 bytes [-Wframe-larger-than=] === /home/arnd/cross-gcc/bin/microblaze-linux-gcc-4.9.3 === ../../crypto/wp512.c:987:1: warning: the frame size of 280 bytes is larger than 100 bytes [-Wframe-larger-than=] ../../crypto/wp512.c:987:1: warning: the frame size of 1108 bytes is larger than 100 bytes [-Wframe-larger-than=] === /home/arnd/cross-gcc/bin/mips64-linux-gcc-4.9.3 === ../../crypto/wp512.c:987:1: warning: the frame size of 208 bytes is larger than 100 bytes [-Wframe-larger-than=] ../../crypto/wp512.c:987:1: warning: the frame size of 1328 bytes is larger than 100 bytes [-Wframe-larger-than=] === /home/arnd/cross-gcc/bin/mips-linux-gcc-4.9.3 === ../../crypto/wp512.c:987:1: warning: the frame size of 272 bytes is larger than 100 bytes [-Wframe-larger-than=] ../../crypto/wp512.c:987:1: warning: the frame size of 1096 bytes is larger than 100 bytes [-Wframe-larger-than=] === /home/arnd/cross-gcc/bin/mips-linux-gcc-7.0.0 === ../../crypto/wp512.c:987:1: warning: the frame size of 304 bytes is larger than 100 bytes [-Wframe-larger-than=] ../../crypto/wp512.c:987:1: warning: the frame size of 1128 bytes is larger than 100 bytes [-Wframe-larger-than=] === /home/arnd/cross-gcc/bin/powerpc64-linux-gcc-4.9.3 === ../../crypto/wp512.c:987:1: warning: the frame size of 144 bytes is larger than 100 bytes [-Wframe-larger-than=] ../../crypto/wp512.c:987:1: warning: the frame size of 1088 bytes is larger than 100 bytes [-Wframe-larger-than=] === /home/arnd/cross-gcc/bin/powerpc-linux-gcc-4.9.3 === ../../crypto/wp512.c:987:1: warning: the frame size of 208 bytes is larger than 100 bytes [-Wframe-larger-than=] ../../crypto/wp512.c:987:1: warning: the frame size of 1088 bytes is larger than 100 bytes [-Wframe-larger-than=] === /home/arnd/cross-gcc/bin/s390-linux-gcc-4.9.3 === ../../crypto/wp512.c:987:1: warning: the frame size of 352 bytes is larger than 100 bytes [-Wframe-larger-than=] ../../crypto/wp512.c:987:1: warning: the frame size of 456 bytes is larger than 100 bytes [-Wframe-larger-than=] === /home/arnd/cross-gcc/bin/sh3-linux-gcc-4.9.3 === ../../crypto/wp512.c:987:1: warning: the frame size of 292 bytes is larger than 100 bytes [-Wframe-larger-than=] ../../crypto/wp512.c:987:1: warning: the frame size of 292 bytes is larger than 100 bytes [-Wframe-larger-than=] === /home/arnd/cross-gcc/bin/sparc64-linux-gcc-4.9.3 === ../../crypto/wp512.c:987:1: warning: the frame size of 208 bytes is larger than 100 bytes [-Wframe-larger-than=] ../../crypto/wp512.c:987:1: warning: the frame size of 992 bytes is larger than 100 bytes [-Wframe-larger-than=] === /home/arnd/cross-gcc/bin/sparc-linux-gcc-4.9.3 === ../../crypto/wp512.c:987:1: warning: the frame size of 320 bytes is larger than 100 bytes [-Wframe-larger-than=] ../../crypto/wp512.c:987:1: warning: the frame size of 672 bytes is larger than 100 bytes [-Wframe-larger-than=] === /home/arnd/cross-gcc/bin/x86_64-linux-gcc-4.9.3 === ../../crypto/wp512.c:987:1: warning: the frame size of 224 bytes is larger than 100 bytes [-Wframe-larger-than=] ../../crypto/wp512.c:987:1: warning: the frame size of 224 bytes is larger than 100 bytes [-Wframe-larger-than=] === /home/arnd/cross-gcc/bin/x86_64-linux-gcc-6.1.1 === ../../crypto/wp512.c:987:1: warning: the frame size of 272 bytes is larger than 100 bytes [-Wframe-larger-than=] ../../crypto/wp512.c:987:1: warning: the frame size of 272 bytes is larger than 100 bytes [-Wframe-larger-than=] === /home/arnd/cross-gcc/bin/x86_64-linux-gcc-7.0.0 === ../../crypto/wp512.c:987:1: warning: the frame size of 256 bytes is larger than 100 bytes [-Wframe-larger-than=] ../../crypto/wp512.c:987:1: warning: the frame size of 256 bytes is larger than 100 bytes [-Wframe-larger-than=] === /home/arnd/cross-gcc/bin/xtensa-linux-gcc-4.9.3 === ../../crypto/wp512.c:987:1: warning: the frame size of 304 bytes is larger than 100 bytes [-Wframe-larger-than=] ../../crypto/wp512.c:987:1: warning: the frame size of 1152 bytes is larger than 100 bytes [-Wframe-larger-than=] I also tried reproducing the behavior with the official reference implementation of wp512, from http://www.larc.usp.br/~pbarreto/WhirlpoolPage.html, which is very similar in the wp512_process_buffer() function but so far does not show the problem!