diff options
author | Richard Biener <rguenther@suse.de> | 2023-10-23 13:29:30 +0200 |
---|---|---|
committer | Richard Biener <rguenther@suse.de> | 2023-10-23 15:30:02 +0200 |
commit | 738d44348e7392a9f8e370afa3a9d8c24ee080cd (patch) | |
tree | 221333f5afdfb9316a609f1d075ec1f11f9767d5 /libcpp | |
parent | 538dcde872abba589b3c8a57181bd7f91018c67a (diff) | |
download | gcc-738d44348e7392a9f8e370afa3a9d8c24ee080cd.zip gcc-738d44348e7392a9f8e370afa3a9d8c24ee080cd.tar.gz gcc-738d44348e7392a9f8e370afa3a9d8c24ee080cd.tar.bz2 |
ipa/111914 - perform parameter init after remapping types
The following addresses a mismatch in SSA name vs. symbol when
we emit a dummy assignment when not optimizing. The temporary
we create is not remapped by initialize_inlined_parameters because
we have no easy way to get at it. The following instead emits
the additional statement after we have remapped the type of
the replacement variable.
PR ipa/111914
* tree-inline.cc (setup_one_parameter): Move code emitting
a dummy load when not optimizing ...
(initialize_inlined_parameters): ... here to after when
we remapped the parameter type.
* gcc.dg/pr111914.c: New testcase.
Diffstat (limited to 'libcpp')
0 files changed, 0 insertions, 0 deletions