https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112406
--- Comment #24 from Andrew Pinski <pinskia at gcc dot gnu.org> --- (In reply to GCC Commits from comment #22) > gcc/testsuite/ChangeLog: > > * gcc.target/aarch64/pr112406-2.c: New test. This testcase now fails after the recent changes to make some warnings defaulting to errors: /home/apinski/src/upstream-full-cross/gcc/gcc/testsuite/gcc.target/aarch64/pr112406.c:8:1: error: type defaults to 'int' in declaration of 'GetImageChannelMoments_image' [-Wimplicit-int] /home/apinski/src/upstream-full-cross/gcc/gcc/testsuite/gcc.target/aarch64/pr112406.c:8:31: error: type defaults to 'int' in declaration of 'GetImageChannelMoments_image_0' [-Wimplicit-int] /home/apinski/src/upstream-full-cross/gcc/gcc/testsuite/gcc.target/aarch64/pr112406.c:9:5: error: type defaults to 'int' in declaration of 'GetImageChannelMoments___trans_tmp_1' [-Wimplicit-int] /home/apinski/src/upstream-full-cross/gcc/gcc/testsuite/gcc.target/aarch64/pr112406.c:9:43: error: type defaults to 'int' in declaration of 'GetImageChannelMoments_M11_0' [-Wimplicit-int] /home/apinski/src/upstream-full-cross/gcc/gcc/testsuite/gcc.target/aarch64/pr112406.c:10:5: error: type defaults to 'int' in declaration of 'GetImageChannelMoments_pixel_3' [-Wimplicit-int] /home/apinski/src/upstream-full-cross/gcc/gcc/testsuite/gcc.target/aarch64/pr112406.c:10:37: error: type defaults to 'int' in declaration of 'GetImageChannelMoments_y' [-Wimplicit-int] /home/apinski/src/upstream-full-cross/gcc/gcc/testsuite/gcc.target/aarch64/pr112406.c:11:5: error: type defaults to 'int' in declaration of 'GetImageChannelMoments_p' [-Wimplicit-int] /home/apinski/src/upstream-full-cross/gcc/gcc/testsuite/gcc.target/aarch64/pr112406.c:18:1: error: return type defaults to 'int' [-Wimplicit-int] /home/apinski/src/upstream-full-cross/gcc/gcc/testsuite/gcc.target/aarch64/pr112406.c:22:1: error: return type defaults to 'int' [-Wimplicit-int] /home/apinski/src/upstream-full-cross/gcc/gcc/testsuite/gcc.target/aarch64/pr112406.c: In function 'GetImageChannelMoments': /home/apinski/src/upstream-full-cross/gcc/gcc/testsuite/gcc.target/aarch64/pr112406.c:36:42: error: implicit declaration of function 'atan' [-Wimplicit-function-declaration] /home/apinski/src/upstream-full-cross/gcc/gcc/testsuite/gcc.target/aarch64/pr112406.c:36:42: note: include '<math.h>' or provide a declaration of 'atan'