This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Someone introduced a libiberty crashing bug in the past week


On Mon, 20 Jun 2005, Daniel Berlin wrote:

> The crash line is 
> 3729              if (pedantic && !DECL_IN_SYSTEM_HEADER (fundecl))
> 
> Here, fundecl is null.

Any problem with fundecl being null should also be reproducible with a 
call through a function pointer where fundecl would never have been set to 
non-null anyway.  Restoring

      fundecl = function;

in the if (TREE_CODE (function) == FUNCTION_DECL) part of 
build_function_call should fix the particular ICE, but the problem with 
function pointers should still get a PR filed.

-- 
Joseph S. Myers               http://www.srcf.ucam.org/~jsm28/gcc/
    jsm@polyomino.org.uk (personal mail)
    joseph@codesourcery.com (CodeSourcery mail)
    jsm28@gcc.gnu.org (Bugzilla assignments and CCs)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]