[Bug ipa/100513] [11/12 Regression] ICE: Segmentation fault (in lookup_page_table_entry) for bootstrap-O3 since r11-6411-gae99b315ba5b9e1c
cvs-commit at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue May 11 12:47:34 GMT 2021
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100513
--- Comment #18 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Richard Biener <rguenth@gcc.gnu.org>:
https://gcc.gnu.org/g:7e0fe7761da9255c9342788956c37b426875d872
commit r12-716-g7e0fe7761da9255c9342788956c37b426875d872
Author: Richard Biener <rguenther@suse.de>
Date: Tue May 11 13:23:45 2021 +0200
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.
More information about the Gcc-bugs
mailing list