[Bug middle-end/123575] [14 Regression] internal compiler error: in prepare_cmp_insn, at optabs.cc:4589
cvs-commit at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Mar 16 13:39:08 GMT 2026
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=123575
--- Comment #14 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-14 branch has been updated by Richard Biener
<rguenth@gcc.gnu.org>:
https://gcc.gnu.org/g:fd1b8c3b9f4c458e7b50f533eff996ff361bd4c8
commit r14-12442-gfd1b8c3b9f4c458e7b50f533eff996ff361bd4c8
Author: Richard Biener <rguenther@suse.de>
Date: Wed Jan 28 13:39:14 2026 +0100
middle-end/123575 - fix ABS_EXPR folding for vectors
Folding away a conversion requires an optab check for vectors.
PR middle-end/123575
* match.pd (abs ((T)x) -> absu (x)): For vector type
arguments require the resulting operation is supported.
* g++.dg/pr123575.C: New testcase.
(cherry picked from commit 26723879292eda8a9b606b3c2b968941ec4fd9ef)
More information about the Gcc-bugs
mailing list