Someone introduced a libiberty crashing bug in the past week
Joseph S. Myers
joseph@codesourcery.com
Mon Jun 20 16:07:00 GMT 2005
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)
More information about the Gcc
mailing list