diff options
author | Richard Biener <rguenther@suse.de> | 2024-10-29 09:42:12 +0100 |
---|---|---|
committer | Richard Biener <rguenth@gcc.gnu.org> | 2024-10-29 11:25:07 +0100 |
commit | 0e99b22aa666f107c4035d32bfb5ab11534a9d2f (patch) | |
tree | b9fd6c31b3b53b614864d7b5edaec81e08493ca0 /gcc/fortran/error.cc | |
parent | 5e247ac0c28b9a2662f99c4a5420c5f7c2d0c6bd (diff) | |
download | gcc-0e99b22aa666f107c4035d32bfb5ab11534a9d2f.zip gcc-0e99b22aa666f107c4035d32bfb5ab11534a9d2f.tar.gz gcc-0e99b22aa666f107c4035d32bfb5ab11534a9d2f.tar.bz2 |
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.
Diffstat (limited to 'gcc/fortran/error.cc')
0 files changed, 0 insertions, 0 deletions