https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112976
Bug ID: 112976 Summary: expand_gimple_stmt_1 vs gimple_assign_nontemporal_move_p vs SSA_NAME on lhs Product: gcc Version: 14.0 Status: UNCONFIRMED Keywords: internal-improvement Severity: normal Priority: P3 Component: middle-end Assignee: unassigned at gcc dot gnu.org Reporter: pinskia at gcc dot gnu.org Target Milestone: --- As far as I can tell if TREE_CODE (lhs) == SSA_NAME then gimple_assign_nontemporal_move_p should always be false as it is never a store. So all of the code for nontemporal in the else case of `TREE_CODE (lhs) != SSA_NAME` if in cfgexpand.cc is dead. This has been there since r0-95521-g28ed065ef9f345 which added expand from tuples directly. We most likely should also have gimple_assign_set_nontemporal_move assert that the gimple assign's lhs is not a SSA_NAME.