tree-inline decl_map: skip mapping result's NULL default def
authorAlexandre Oliva <oliva@adacore.com>
Thu, 29 Dec 2022 17:32:54 +0000 (14:32 -0300)
committerAlexandre Oliva <oliva@gnu.org>
Thu, 29 Dec 2022 17:39:46 +0000 (14:39 -0300)
commita7d397bf6fa23c5d88bf0dbb32ce8247831c3bf4
tree3c7563d94204cd01d810f4ad02598a47b4d6ed02
parente2535c6035270c8b46491c6d33285ac29362bdf7
tree-inline decl_map: skip mapping result's NULL default def

If a result doesn't have a default def, don't attempt to remap it.

for  gcc/ChangeLog

* tree-inline.cc (declare_return_variable): Don't remap NULL
default def of result.
gcc/tree-inline.cc