__FUNCTION__

Geoff Keating geoffk@cygnus.com
Wed Oct 11 10:57:00 GMT 2000


"Zack Weinberg" <zackw@stanford.edu> writes:

> On Wed, Oct 11, 2000 at 08:20:21AM -0400, Richard Kenner wrote:
> > Ot appears to be broken because fancy_abort doesn't work right.
> > Is this a known problem?
> 
> I reported it, with extensive analysis, in
> http://gcc.gnu.org/ml/gcc-bugs/2000-10/msg00038.html .  No one replied.

I have added your testcase as gcc.c-torture/execute/20001011-1.c.

I'm not sure that your patch is correct.  __FUNCTION__ should be
either undeclared or empty outside functions, so you'd want to call
declare_function_name() too.  It does seem to be in the right place,
though.

-- 
- Geoffrey Keating <geoffk@cygnus.com>


More information about the Gcc-patches mailing list