diff options
author | Eric Botcazou <ebotcazou@gcc.gnu.org> | 2020-05-09 22:44:39 +0200 |
---|---|---|
committer | Eric Botcazou <ebotcazou@gcc.gnu.org> | 2020-05-09 22:44:39 +0200 |
commit | 527ed00b715bf4a945284722b7e766a4f763049f (patch) | |
tree | d0aa44f1dfd8f91695a2eeb9bbd65a4ae69444b5 /gcc/gcov-io.c | |
parent | aff220748ca669d4338c5ac6f0b210a29f90bbab (diff) | |
download | gcc-527ed00b715bf4a945284722b7e766a4f763049f.zip gcc-527ed00b715bf4a945284722b7e766a4f763049f.tar.gz gcc-527ed00b715bf4a945284722b7e766a4f763049f.tar.bz2 |
Do not make a local copy of large aggregate
This prevents gigi from making a local copy of large aggregates.
* gcc-interface/trans.c (lvalue_required_p) <N_Selected_Component>:
Merge with N_Slice.
<N_Allocator>: Move to...
(lvalue_for_aggregate_p): ...here. New function.
(Identifier_to_gnu): For an identifier with aggregate type, also
call lvalue_for_aggregate_p if lvalue_required_p returned false
before substituting the identifier with the constant.
Diffstat (limited to 'gcc/gcov-io.c')
0 files changed, 0 insertions, 0 deletions