[Bug tree-optimization/123040] [15/16 regression] ICE: gimple check: expected gimple_assign(error_mark), have gimple_call(vec_duplicate_expr) in gimple_assign_rhs_code, at gimple.h:2919 [r15-3509-gd34cda72098867]

pinskia at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Dec 8 00:29:42 GMT 2025


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=123040

--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
(In reply to Andreas Schwab from comment #2)
> commit d34cda720988674bcf8a24267c9e1ec61335d6de
> Author: Richard Biener <rguenther@suse.de>
> Date:   Fri Sep 29 12:54:17 2023 +0200
> 
>     Handle non-grouped stores as single-lane SLP

I am almost positive that just exposed the latent bug in fre/sccvn. Because it
works just fine on aarch64 with a very similar ir before fre4.


More information about the Gcc-bugs mailing list