re PR fortran/70931 (ICE with -g in native_encode_initializer, bei dwarf2out.c:17768)
authorRichard Biener <rguenther@suse.de>
Fri, 6 May 2016 07:44:22 +0000 (07:44 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Fri, 6 May 2016 07:44:22 +0000 (07:44 +0000)
commit8706773f5a11cc9f3f48e82e0177d047d275ce1d
tree37df3051bfd21e0240474e795612d9af5397f2e6
parenta4f510181a4a6ac49317acdda7036f0370517cb9
re PR fortran/70931 (ICE with -g in native_encode_initializer, bei dwarf2out.c:17768)

2016-05-06  Richard Biener  <rguenther@suse.de>

PR middle-end/70931
* dwarf2out.c (native_encode_initializer): Skip zero-sized fields.

* gfortran.dg/pr70931.f90: New testcase.

From-SVN: r235944
gcc/ChangeLog
gcc/dwarf2out.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/pr70931.f90 [new file with mode: 0644]