aboutsummaryrefslogtreecommitdiff
path: root/gcc/go
diff options
context:
space:
mode:
authorJason Merrill <jason@redhat.com>2022-12-20 21:06:09 -0500
committerJason Merrill <jason@redhat.com>2022-12-20 21:07:31 -0500
commitef0abcbc400e0ecb8ed1ddf61d96f8f3f88fe63b (patch)
tree8a50dd12886f90efacee68469a337b6b9e6047a3 /gcc/go
parent302485a70a33f3a86e85ad9051de2b51c5dc0bc0 (diff)
downloadgcc-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