https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77589
Tom de Vries <vries at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |vries at gcc dot gnu.org --- Comment #9 from Tom de Vries <vries at gcc dot gnu.org> --- (In reply to Jakub Jelinek from comment #8) > Fixed for 7+ (assuming GDB will get DW_OP_GNU_variable_value support added > soon). > No plans to backport this. It looks like we've stopped generating DW_OP_GNU_variable_value for this example at some point: ... $ ( cc=gfortran; $cc --version; $cc -g test.f90 -save-temps -dA && grep variable_value test.s ) GNU Fortran (SUSE Linux) 7.3.1 20180323 [gcc-7-branch revision 258812] Copyright (C) 2017 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. .byte 0xfd # DW_OP_GNU_variable_value $ $( cc=./install/bin/gfortran; $cc --version; $cc -g test.f90 -save-temps -dA && grep variable_value test.s ) GNU Fortran (GCC) 9.0.0 20180717 (experimental) Copyright (C) 2018 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. $ ...