A method for debugging generated tree codes

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

A method for debugging generated tree codes

Thomas Koenig-6
Hi,

I just added a section on "Debugging tree code generated by gfortran"
to https://gcc.gnu.org/wiki/GFortranHacking , by using -fverbose-asm -S
without -g, doing the assembly in a separate step (with -g this time)
and then single-stepping through the commented assembly. I learned this
from Nicolas.

Maybe you've all been doing this for years :-), but I found it useful
enough to document.

Regards

        Thomas