[Bug tree-optimization/126329] [14/15/16/17 Regression] ICE at -O2 during GIMPLE pass: vrp since r14-4141-gbf6b107e2a3423

"pinskia at gcc dot gnu.org via Gcc-bugs" <[email protected]> Wed, 05 Aug 2026 21:37:43 +0000
Newsgroups gmane.comp.gcc.bugs
Message-ID <[email protected]/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=126329

--- Comment #5 from Drea Pinski <pinskia at gcc dot gnu.org> ---
(In reply to Andrew Macleod from comment #4)
> Created attachment 65247 [details]
> potential patch
> 
> Another option is the attached patch.

I was trying to think if build_zero_cst will work for all is_gimple_reg_type
types. I think it does.