Closed harperjf closed 6 months ago
Yes, the -g --debug-with-line-column
options don't work in all cases yet. In terms of priorities we'll work on debugging symbols after we reach beta.
Regarding the T
format descriptor, we just have to implement it. It needs to be added here: https://github.com/lfortran/lfortran/blob/60d158479f925afe9b00013e4e152e604b925b19/src/libasr/runtime/lfortran_intrinsics.c#L487. Do you want to send us a patch?
Sorry, I know something about Fortran but I'm totally ignorant of LLVM and of C, which I suspect your 60d1584 is written in.
@harperjf no worries. The best way you can help then is to report bugs, as you have been doing. Thank you.
Having found that lfortran would not allow T in a format string (valid Fortran ever since f77) I wrote this little program to check my workaround, which 5 other compilers all allowed. But if I tried compiling with the
-g --debug-with-line-column
options as recommended when I just tried-g
, I got an ICE as I did in #3900, although this time no allocatable scalar was involved. I quote the Fortran program and its outputs with various options. The output was useful only with no options at all specified!