aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/gcc-interface/ada-tree.h
diff options
context:
space:
mode:
authorRichard Biener <rguenther@suse.de>2021-05-11 13:23:45 +0200
committerRichard Biener <rguenther@suse.de>2021-05-11 14:47:25 +0200
commit7e0fe7761da9255c9342788956c37b426875d872 (patch)
treec2dbd1904e972f07262e5079fab351710b77add6 /gcc/ada/gcc-interface/ada-tree.h
parent2ac1f0eb3887335b7a7e845812956fa436e72a91 (diff)
downloadgcc-7e0fe7761da9255c9342788956c37b426875d872.zip
gcc-7e0fe7761da9255c9342788956c37b426875d872.tar.gz
gcc-7e0fe7761da9255c9342788956c37b426875d872.tar.bz2
ipa/100513 - fix SSA_NAME_DEF_STMT corruption in IPA param manip
This fixes unintended clobbering of SSA_NAME_DEF_STMT of the cloned/inlined from SSA name during IPA parameter manipulation of call stmt LHSs. gimple_call_set_lhs adjusts SSA_NAME_DEF_STMT of the lhs to the stmt being modified but when ipa_param_body_adjustments::modify_call_stmt is called the cloning/inlining process has not yet remapped the stmts operands to the copy variants but they are still original. 2021-05-11 Richard Biener <rguenther@suse.de> PR ipa/100513 * ipa-param-manipulation.c (ipa_param_body_adjustments::modify_call_stmt): Avoid altering SSA_NAME_DEF_STMT by adjusting the calls LHS via gimple_call_lhs_ptr.
Diffstat (limited to 'gcc/ada/gcc-interface/ada-tree.h')
0 files changed, 0 insertions, 0 deletions