fix Issue 10178 - Compiler segfault with zero-length tuple comparison