re PR tree-optimization/51692 (ICE on several valgrind tests)