diff options
author | Jason Merrill <jason@redhat.com> | 2022-12-20 21:06:09 -0500 |
---|---|---|
committer | Jason Merrill <jason@redhat.com> | 2022-12-20 21:07:31 -0500 |
commit | ef0abcbc400e0ecb8ed1ddf61d96f8f3f88fe63b (patch) | |
tree | 8a50dd12886f90efacee68469a337b6b9e6047a3 /gcc/go | |
parent | 302485a70a33f3a86e85ad9051de2b51c5dc0bc0 (diff) | |
download | gcc-ef0abcbc400e0ecb8ed1ddf61d96f8f3f88fe63b.zip gcc-ef0abcbc400e0ecb8ed1ddf61d96f8f3f88fe63b.tar.gz gcc-ef0abcbc400e0ecb8ed1ddf61d96f8f3f88fe63b.tar.bz2 |
fold: fix use of protected_set_expr_location_unshare
Unlike protected_set_expr_location, this variant can return
a different tree.
gcc/ChangeLog:
* fold-const.cc (fold_convert_loc): Check return value of
protected_set_expr_location_unshare.
Diffstat (limited to 'gcc/go')
0 files changed, 0 insertions, 0 deletions