re PR lto/86321 (ICE: in splice_child_die, at dwarf2out.c:5693 for several Fortran...
authorRichard Biener <rguenther@suse.de>
Mon, 2 Jul 2018 08:00:47 +0000 (08:00 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Mon, 2 Jul 2018 08:00:47 +0000 (08:00 +0000)
commit5d4e9f7beed5ad5808cabc615b00316bd9dfe92c
tree007ed456037b647162a8ef62fa7c17f6b4d1bc5d
parente057d3e550139ae931013ca65d7bc521d8eb63c3
re PR lto/86321 (ICE:  in splice_child_die, at dwarf2out.c:5693 for several Fortran tests with -g -flto)

2018-07-02  Richard Biener  <rguenther@suse.de>

PR lto/86321
* trans-types.c (gfc_get_array_type_bounds): Unshare TYPE_FIELDs
for the distinct type copy.

From-SVN: r262301
gcc/fortran/ChangeLog
gcc/fortran/trans-types.c