This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: PATCH: PR debug/36977: Incorrect debug info for stack variables with stack alignment
- From: Jason Merrill <jason at redhat dot com>
- To: "H.J. Lu" <hjl dot tools at gmail dot com>
- Cc: gcc-patches at gcc dot gnu dot org, Joey Ye <joey dot ye at intel dot com>, Xuepeng Guo <xuepeng dot guo at intel dot com>
- Date: Thu, 31 Jul 2008 18:11:34 -0400
- Subject: Re: PATCH: PR debug/36977: Incorrect debug info for stack variables with stack alignment
- References: <20080730161055.GA21664@lucon.org> <20080731035047.GA9138@lucon.org>
If the stack alignment isn't necessary, then managing the DRAP register
isn't necessary either, right? It seems like the right solution is to
make the optimizers remove that code as well, in which case the debug
info will be right automatically, using FP for the CFA.
Jason