https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113344
--- Comment #5 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Richard Biener <rgue...@gcc.gnu.org>: https://gcc.gnu.org/g:160799b366c33246ca16b84020ec49c3feabb0a3 commit r14-7170-g160799b366c33246ca16b84020ec49c3feabb0a3 Author: Richard Biener <rguent...@suse.de> Date: Fri Jan 12 08:33:48 2024 +0100 middle-end/113344 - is_truth_type_for vs GENERIC tcc_comparison On GENERIC tcc_comparison can have int type so restrict the PR113126 fix to vector types. PR middle-end/113344 * match.pd ((double)float CMP (double)float -> float CMP float): Perform result type check only for vectors. * fold-const.cc (fold_binary_loc): Likewise.