[Bug debug/84645] -flto -g0 at compile-time vs. -flto -g at link time ICEs in add_dwarf_attr, at dwarf2out.c:4353
rguenth at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Mar 1 13:40:00 GMT 2018
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 <rguenther@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
More information about the Gcc-bugs
mailing list