https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84645
--- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> --- Author: rguenth Date: Thu Mar 1 13:39:56 2018 New Revision: 258100 URL: https://gcc.gnu.org/viewcvs?rev=258100&root=gcc&view=rev Log: 2018-03-01 Richard Biener <rguent...@suse.de> PR debug/84645 * dwarf2out.c (gen_variable_die): Properly handle late VLA type annotation with LTO when debug was disabled at compile-time. * gfortran.dg/lto/pr84645_0.f90: New testcase. Added: trunk/gcc/testsuite/gfortran.dg/lto/pr84645_0.f90 Modified: trunk/gcc/ChangeLog trunk/gcc/dwarf2out.c trunk/gcc/testsuite/ChangeLog