diff options
| author | Richard Biener <rguenther@suse.de> | 2026-02-03 12:18:56 +0100 |
|---|---|---|
| committer | Richard Biener <rguenth@gcc.gnu.org> | 2026-02-05 09:27:25 +0100 |
| commit | 5c46b4d38a8b10c1fe5c0a27472b4e9c7cce2480 (patch) | |
| tree | 93ff63e378356d78b12022b13a27370aff919fe6 /libjava/gnu/java/util/jar | |
| parent | bcdc17211a70f290d46e5d10164c4bc776a89d1a (diff) | |
| download | gcc-master.zip gcc-master.tar.gz gcc-master.tar.bz2 | |
The following fixes re-materialization of aggregates before calls
that take the address of a scalarized decl. The issue here is that
we do not know the appropriate effective type to use for the stores.
So we use ref-all accesses for the re-materialization to properly
support TBAA info modref might have recorded. The same holds
true for the re-load after the call.
PR tree-optimization/121726
* tree-sra.cc (build_ref_for_offset): Add force_ref_all
parameter and use ptr_type_node as alias pointer type in
that case.
(build_ref_for_model): Add force_ref_all parameter and
pass it through, forcing build_ref_for_offset.
(generate_subtree_copies): Likewise.
(sra_modify_call_arg): Force ref-all accesses.
* gcc.target/i386/pr121726.c: New testcase.
Diffstat (limited to 'libjava/gnu/java/util/jar')
0 files changed, 0 insertions, 0 deletions
