This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Someone introduced a libiberty crashing bug in the past week
On Mon, 2005-06-20 at 16:05 +0000, Joseph S. Myers wrote:
> 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.
I'll do this
>