diff options
author | Richard Biener <rguenther@suse.de> | 2025-08-18 13:38:37 +0200 |
---|---|---|
committer | Richard Biener <rguenth@gcc.gnu.org> | 2025-08-19 12:37:42 +0200 |
commit | 1d0a0173cd3e48f1c7c7e98893d440527fc198d0 (patch) | |
tree | 708ebfc75278b4f80dba8920f91f1681785e13a1 /libjava/gnu/xml/dom/DomText.h | |
parent | 7d72cad143ff6933f2f90018c65d6c861c387e4d (diff) | |
download | gcc-1d0a0173cd3e48f1c7c7e98893d440527fc198d0.zip gcc-1d0a0173cd3e48f1c7c7e98893d440527fc198d0.tar.gz gcc-1d0a0173cd3e48f1c7c7e98893d440527fc198d0.tar.bz2 |
tree-optimization/121527 - wrong SRA with aggregate copy
SRA handles outermost VIEW_CONVERT_EXPRs but it wrongly ignores
those when building an access which leads to the wrong size
used when the VIEW_CONVERT_EXPR does not have the same size as
its operand which is valid GENERIC and is used by Ada upcasting.
PR tree-optimization/121527
* tree-sra.cc (build_access_from_expr_1): Do not strip an
outer VIEW_CONVERT_EXPR as it's relevant for the size of
the access.
(get_access_for_expr): Likewise.
Diffstat (limited to 'libjava/gnu/xml/dom/DomText.h')
0 files changed, 0 insertions, 0 deletions