[Bug tree-optimization/123537] [14 Regression] ICE: verify_gimple failed: conversion of register to a different size in 'view_convert_expr' at -O2
cvs-commit at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Mar 16 13:38:57 GMT 2026
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=123537
--- Comment #6 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:c07c3adea84960c82b38f93af4b9363b5707aedf
commit r14-12441-gc07c3adea84960c82b38f93af4b9363b5707aedf
Author: Richard Biener <rguenther@suse.de>
Date: Wed Jan 28 10:04:45 2026 +0100
tree-optimization/123537 - fix too permissive .REDUC_* folding
The following restricts the allowed conversions to those maintaining
the element type size.
PR tree-optimization/123537
* match.pd (REDUC (@0 & @1) -> @0[I] & @1[I]): Restrict
allowed conversions.
* gcc.dg/pr123537.c: New testcase.
(cherry picked from commit 6868526bb79051895864a006c757ee5aee8e9574)
More information about the Gcc-bugs
mailing list