[Bug debug/85252] [6/7 Regression] ICE with -g for static zero-length array initialization
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85252 Jakub Jelinek changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|--- |FIXED --- Comment #10 from Jakub Jelinek --- Fixed for 6.5 and 7.4+ too.
[Bug debug/85252] [6/7 Regression] ICE with -g for static zero-length array initialization
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85252 --- Comment #9 from Jakub Jelinek --- Author: jakub Date: Mon Jun 25 17:44:31 2018 New Revision: 262093 URL: https://gcc.gnu.org/viewcvs?rev=262093=gcc=rev Log: Backported from mainline 2018-04-06 Jakub Jelinek 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. Added: branches/gcc-6-branch/gcc/testsuite/gcc.dg/debug/pr85252.c Modified: branches/gcc-6-branch/gcc/ChangeLog branches/gcc-6-branch/gcc/dwarf2out.c branches/gcc-6-branch/gcc/testsuite/ChangeLog
[Bug debug/85252] [6/7 Regression] ICE with -g for static zero-length array initialization
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85252 --- Comment #8 from Jakub Jelinek --- Author: jakub Date: Fri Jun 22 21:08:00 2018 New Revision: 261950 URL: https://gcc.gnu.org/viewcvs?rev=261950=gcc=rev Log: Backported from mainline 2018-04-06 Jakub Jelinek 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. Added: branches/gcc-7-branch/gcc/testsuite/gcc.dg/debug/pr85252.c Modified: branches/gcc-7-branch/gcc/ChangeLog branches/gcc-7-branch/gcc/dwarf2out.c branches/gcc-7-branch/gcc/testsuite/ChangeLog
[Bug debug/85252] [6/7 Regression] ICE with -g for static zero-length array initialization
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85252 Jakub Jelinek changed: What|Removed |Added Priority|P3 |P2 Summary|[6/7/8 Regression] ICE with |[6/7 Regression] ICE with |-g for static zero-length |-g for static zero-length |array initialization|array initialization --- Comment #7 from Jakub Jelinek --- Fixed on the trunk so far.