aboutsummaryrefslogtreecommitdiff
path: root/libcpp
diff options
context:
space:
mode:
authorRichard Biener <rguenther@suse.de>2023-10-23 13:29:30 +0200
committerRichard Biener <rguenther@suse.de>2023-10-23 15:30:02 +0200
commit738d44348e7392a9f8e370afa3a9d8c24ee080cd (patch)
tree221333f5afdfb9316a609f1d075ec1f11f9767d5 /libcpp
parent538dcde872abba589b3c8a57181bd7f91018c67a (diff)
downloadgcc-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