diff options
author | Jakub Jelinek <jakub@redhat.com> | 2018-04-06 19:28:54 +0200 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2018-04-06 19:28:54 +0200 |
commit | c617fb562d510101b5445464753858a557020acb (patch) | |
tree | ca7aea9f6caf538d42053af6fca7c822bc66bc11 /gcc/fold-const.c | |
parent | 49574486e65c03100fbf2993804ccc6dbb9051e6 (diff) | |
download | gcc-c617fb562d510101b5445464753858a557020acb.zip gcc-c617fb562d510101b5445464753858a557020acb.tar.gz gcc-c617fb562d510101b5445464753858a557020acb.tar.bz2 |
re PR debug/85252 (ICE with -g for static zero-length array initialization)
PR debug/85252
* dwarf2out.c (rtl_for_decl_init): For STRING_CST initializer only
build CONST_STRING if TYPE_MAX_VALUE is non-NULL and is INTEGER_CST.
* gcc.dg/debug/pr85252.c: New test.
From-SVN: r259183
Diffstat (limited to 'gcc/fold-const.c')
0 files changed, 0 insertions, 0 deletions