From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michal Moskal To: gcc@gcc.gnu.org Subject: Re: Symbol debug information Date: Wed, 21 Aug 2002 04:35:00 -0000 Message-id: <20020821113553.GE6373@odra.lo14.wroc.pl> References: <200208181832.58063.paul@nowt.org> <20020821113405.GD6373@odra.lo14.wroc.pl> X-SW-Source: 2002-08/msg01232.html 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