emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: inlinable functions instead of macros


From: Óscar Fuentes
Subject: Re: inlinable functions instead of macros
Date: Sat, 18 Aug 2012 23:14:20 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1.50 (gnu/linux)

Richard Stallman <address@hidden> writes:

>     lisp.h:2416: Emacs fatal error: assertion failed: found == !EQ 
> (blv->defcell, blv->valcell)
>
>     I.e. the file&line info is always the same rather than giving the
>     file&line where the inlinable function was called.
>
> Could a GCC improvement be a good fix for this?  For instance, if it
> allowed the assertion failure to find and mention the source location
> of the function's caller?

It looks quite difficult to even give a sound specification for such
feature. And I bet that the implementation, if possible at all, would be
very complex and extensive.

Either print a backtrace or revert to #define's.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]