gcc -O2 -flto seems to optimise the hash tests out completely