This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Symbol debug information
On Wed, Aug 21, 2002 at 01:34:05PM +0200, Michal Moskal wrote:
> > It turns out I was forgetting to set the SCOPE_STMT_BLOCK for the outermost
> > block. Thanks anyway.
>
> Hmm... I had the same problem in my front end. I have just traced source
> of it. The problem is that expand_expr() doesn't emit
> NOTE_INSN_BLOCK_{BEG,END} pairs for BIND_EXPR, then reorder_blocks()
> removes all blocks but the outermost one, and finally dwarf2out
> cannot output debug info for variables in all but outermost block.
Ah, forgot to say: that's not your problem if you are using
c-sementics.c to expand stuff.
--
: Michal Moskal ::::: malekith/at/pld-linux.org : GCS {C,UL}++++$ a? !tv
: PLD Linux ::::::: Wroclaw University, CS Dept : {E-,w}-- {b++,e}>+++ h