Compile failure after ppir changes merged
I'm seeing this compile failure after the ppir changes were merged (lima-18.3/HEAD):
FAILED: src/gallium/drivers/lima/8cb9996@@lima@sta/ir_pp_regalloc.c.o
/home/chewitt/LibreELEC.chewitt/build.LibreELEC-Khadas_VIM.arm-9.1.0/toolchain/bin/armv8a-libreelec-linux-gnueabi-gcc -Isrc/gallium/drivers/lima/8cb9996@@lima@sta -Isrc/gallium/drivers/lima -I../src/gallium/drivers/lima -Isrc -I../src -Iinclude -I../include -I../src/gallium/include -Isrc/gallium/auxiliary -I../src/gallium/auxiliary -Isrc/gallium/drivers -I../src/gallium/drivers -I../include/drm-uapi -Isrc/compiler/nir -I../src/compiler/nir -I/home/chewitt/LibreELEC.chewitt/build.LibreELEC-Khadas_VIM.arm-9.1.0/toolchain/armv8a-libreelec-linux-gnueabi/sysroot/usr/include -I/home/chewitt/LibreELEC.chewitt/build.LibreELEC-Khadas_VIM.arm-9.1.0/toolchain/armv8a-libreelec-linux-gnueabi/sysroot/usr/include/libdrm -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -std=c99 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS '-DVERSION="18.3.0"' -DPACKAGE_VERSION=VERSION '-DPACKAGE_BUGREPORT="https://bugs.freedesktop.org/enter_bug.cgi?product=Mesa"' -DGLX_USE_TLS -DENABLE_ST_OMX_BELLAGIO=0 -DENABLE_ST_OMX_TIZONIA=0 -DMESA_EGL_NO_X11_HEADERS -DHAVE_DRM_PLATFORM -DENABLE_SHADER_CACHE -DHAVE___BUILTIN_BSWAP32 -DHAVE___BUILTIN_BSWAP64 -DHAVE___BUILTIN_CLZ -DHAVE___BUILTIN_CLZLL -DHAVE___BUILTIN_CTZ -DHAVE___BUILTIN_EXPECT -DHAVE___BUILTIN_FFS -DHAVE___BUILTIN_FFSLL -DHAVE___BUILTIN_POPCOUNT -DHAVE___BUILTIN_POPCOUNTLL -DHAVE___BUILTIN_UNREACHABLE -DHAVE_FUNC_ATTRIBUTE_CONST -DHAVE_FUNC_ATTRIBUTE_FLATTEN -DHAVE_FUNC_ATTRIBUTE_MALLOC -DHAVE_FUNC_ATTRIBUTE_PURE -DHAVE_FUNC_ATTRIBUTE_UNUSED -DHAVE_FUNC_ATTRIBUTE_WARN_UNUSED_RESULT -DHAVE_FUNC_ATTRIBUTE_WEAK -DHAVE_FUNC_ATTRIBUTE_FORMAT -DHAVE_FUNC_ATTRIBUTE_PACKED -DHAVE_FUNC_ATTRIBUTE_RETURNS_NONNULL -DHAVE_FUNC_ATTRIBUTE_VISIBILITY -DHAVE_FUNC_ATTRIBUTE_ALIAS -DHAVE_FUNC_ATTRIBUTE_NORETURN -D_GNU_SOURCE -DUSE_GCC_ATOMIC_BUILTINS -DMAJOR_IN_SYSMACROS -DHAVE_SYS_SYSCTL_H -DHAVE_LINUX_FUTEX_H -DHAVE_ENDIAN_H -DHAVE_DLFCN_H -DHAVE_STRTOF -DHAVE_MKOSTEMP -DHAVE_POSIX_MEMALIGN -DHAVE_TIMESPEC_GET -DHAVE_MEMFD_CREATE -DHAVE_STRTOD_L -DHAVE_DLADDR -DHAVE_DL_ITERATE_PHDR -DHAVE_ZLIB -DHAVE_PTHREAD -DHAVE_PTHREAD_SETAFFINITY -DHAVE_LIBDRM -Werror=implicit-function-declaration -Werror=missing-prototypes -Werror=return-type -fno-math-errno -fno-trapping-math -Wno-missing-field-initializers -Wno-format-truncation -fPIC -march=armv8-a+crc -mtune=cortex-a53 -mabi=aapcs-linux -Wno-psabi -Wa,-mno-warn-deprecated -mcpu=cortex-a53 -mfloat-abi=hard -mfpu=neon-fp-armv8 -fomit-frame-pointer -Wall -pipe -Os -flto -fno-fat-lto-objects -MD -MQ 'src/gallium/drivers/lima/8cb9996@@lima@sta/ir_pp_regalloc.c.o' -MF 'src/gallium/drivers/lima/8cb9996@@lima@sta/ir_pp_regalloc.c.o.d' -o 'src/gallium/drivers/lima/8cb9996@@lima@sta/ir_pp_regalloc.c.o' -c ../src/gallium/drivers/lima/ir/pp/regalloc.c
../src/gallium/drivers/lima/ir/pp/regalloc.c: In function 'ppir_regalloc_update_reglist_ssa':
../src/gallium/drivers/lima/ir/pp/regalloc.c:154:30: warning: unused variable 'store' [-Wunused-variable]
ppir_store_node *store = ppir_node_to_store(node);
^~~~~
../src/gallium/drivers/lima/ir/pp/regalloc.c: In function 'create_new_instr_before':
../src/gallium/drivers/lima/ir/pp/regalloc.c:370:1: error: control reaches end of non-void function [-Werror=return-type]
}
^
../src/gallium/drivers/lima/ir/pp/regalloc.c: In function 'create_new_instr_after':
../src/gallium/drivers/lima/ir/pp/regalloc.c:350:1: error: control reaches end of non-void function [-Werror=return-type]
}
^
cc1: some warnings being treated as errors