This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
count in spill_regs
- From: Sirish Pande <sirishrp at gmail dot com>
- To: gcc at gcc dot gnu dot org
- Date: Wed, 28 Mar 2018 16:31:43 -0500
- Subject: count in spill_regs
Hi,
I am interested to know if there is any option that would tell me how many
registers have spilled. I noticed that there is spilled_regs array in
reload1.c - but I can't seem to find where it dumps that information.
Potentially I could build compiler with debug information; however, if an
option exists, that would be great.
If anyone knows of such an option, please share.
Thanks.
Sirish