Fix use-after-scope in host-mingw32.c (PR target/88056).
authorMartin Liska <mliska@suse.cz>
Wed, 3 Jul 2019 08:29:48 +0000 (10:29 +0200)
committerMartin Liska <marxin@gcc.gnu.org>
Wed, 3 Jul 2019 08:29:48 +0000 (08:29 +0000)
commit22dfc3e89d23070a7f46dd8a12b2fde201585353
tree57dd11e7e3041e6f9272bad99ad367d4bc2006ed
parent8e37c995c69b40b3cc3ec015e6bbfe0567a020a0
Fix use-after-scope in host-mingw32.c (PR target/88056).

2019-07-03  Martin Liska  <mliska@suse.cz>

PR target/88056
* config/i386/host-mingw32.c (mingw32_gt_pch_use_address):
Define local_object_name in outer scope in order to handle
use-after-scope issue.

From-SVN: r272991
gcc/ChangeLog
gcc/config/i386/host-mingw32.c