------- Comment #5 from geoffk at geoffk dot org  2006-08-21 22:06 -------
Subject: Re:  [4.2 Regression] ICE in rtl_for_decl_init, at dwarf2out.c


On 20/08/2006, at 9:32 PM, pinskia at gcc dot gnu dot org wrote:

> ------- Comment #4 from pinskia at gcc dot gnu dot org  2006-08-21  
> 04:32 -------
> Geoff,
>   Do you have a testcase where you get better debug info from your  
> patch?
> http://gcc.gnu.org/ml/gcc-patches/2006-03/msg01567.html

It took me a while to find it, but here's an example:

extern void x();
static void (*f)() = x;

However, this patch is clearly not behaving the way I expected.  I  
can reproduce the reported problem on powerpc-darwin when using 'gcc - 
O -gdwarf-2'.  I'll work on a fix.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28692

Reply via email to