[Bug middle-end/104880] [11 Regression] ICE in expand_expr_addr_expr_1, at expr.c:8231 since r11-165-geb72dc663e9070
cvs-commit at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Apr 7 08:58:28 GMT 2022
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104880
--- Comment #5 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-11 branch has been updated by Richard Biener
<rguenth@gcc.gnu.org>:
https://gcc.gnu.org/g:cf6c812718673cbf89bb96fb2427ee9923bf2a90
commit r11-9780-gcf6c812718673cbf89bb96fb2427ee9923bf2a90
Author: Richard Biener <rguenther@suse.de>
Date: Fri Mar 11 14:09:33 2022 +0100
tree-optimization/104880 - update-address-taken and cmpxchg
The following addresses optimistic non-addressable marking of
an argument of __atomic_compare_exchange_n which broke when
I added DECL_NOT_GIMPLE_REG_P since we cannot guarantee we can
rewrite it when TREE_ADDRESSABLE is unset. Instead we have to
restore TREE_ADDRESSABLE in that case.
2022-03-11 Richard Biener <rguenther@suse.de>
PR tree-optimization/104880
* tree-ssa.c (execute_update_address_taken): Remember if we
optimistically made something not addressable and
prepare to undo it.
* g++.dg/opt/pr104880.cc: New testcase.
(cherry picked from commit eb5edcf3f3ae008a1c55c88f08a886a5f350a759)
More information about the Gcc-bugs
mailing list