https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117333
--- Comment #7 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The releases/gcc-13 branch has been updated by Richard Biener <rgue...@gcc.gnu.org>: https://gcc.gnu.org/g:bc0d239abfaf99bfee1d03658950d266e8c0e5ad commit r13-9324-gbc0d239abfaf99bfee1d03658950d266e8c0e5ad Author: Richard Biener <rguent...@suse.de> Date: Tue Oct 29 09:42:12 2024 +0100 tree-optimization/117333 - ICE with NULL access size DR dr_may_alias_p ICEs when TYPE_SIZE of DR->ref is NULL but this is valid IL when the access size of an aggregate copy can be infered from the RHS. PR tree-optimization/117333 * tree-data-ref.cc (dr_may_alias_p): Guard against NULL access size. * gcc.dg/torture/pr117333.c: New testcase. (cherry picked from commit 0e99b22aa666f107c4035d32bfb5ab11534a9d2f)