https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119190
Bug ID: 119190
Summary: [15 Regression] Debug info quality regression at -O0
since r15-3128
Product: gcc
Version: 15.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: debug
Assignee: unassigned at gcc dot gnu.org
Reporter: jakub at gcc dot gnu.org
Target Milestone: ---
In GCC 14, one could
gfortran -g -o test{,.f90}; gdb ./test
and there
b 7
r
print ci
for test.f90:
program foo
integer :: ia, ib
complex :: ci
ia = 1
ib = 2
ci = cmplx(ia, ib)
print *, ia, ib
end program
This doesn't work anymore since
r15-3128-gde1923f9f4d5344694c22ca883aeb15caf635734
ci doesn't have DW_AT_location.