Do not use tree_to_wide_ref that point to a temporary (PR c++/90587).
authorMartin Liska <mliska@suse.cz>
Thu, 23 May 2019 12:07:09 +0000 (14:07 +0200)
committerMartin Liska <marxin@gcc.gnu.org>
Thu, 23 May 2019 12:07:09 +0000 (12:07 +0000)
commit56a4e074ee8bcf4c3627fb595c31bd833d5a6532
tree863165a5b3b619ab3a79ffcc8f116260a3c0bf34
parent16f8992e7fec7b8d49fa423b565331b39b17b30d
Do not use tree_to_wide_ref that point to a temporary (PR c++/90587).

2019-05-23  Martin Liska  <mliska@suse.cz>

PR c++/90587
* tree-ssa-uninit.c (value_sat_pred_p): The result of &
operation points to a temporary (pointed via tree_to_wide_ref)
that is out of scope after the &.

From-SVN: r271555
gcc/ChangeLog
gcc/tree-ssa-uninit.c