This is the mail archive of the
mailing list for the GCC project.
Re: Fix for regression in gcc.c-torture/execute/20011114-1.c
On Tue, Dec 04, 2001 at 02:44:29PM -0200, Alexandre Oliva wrote:
> On Dec 2, 2001, Alexandre Oliva <firstname.lastname@example.org> wrote:
> > * tree.c (get_callee_fndecl): Follow DECL_ABSTRACT_ORIGIN if
> > DECL_INITIAL is NULL.
> FYI, it turned out that it was not my other volatile MEM patch that
> broke C++, but this one. C++ cdtors often have DECL_ABSTRACT_ORIGIN
> and ! DECL_INITIAL, but they have nothing to do with inline functions
> and, in fact, they point to internal decls with illegal names. We
> must not follow such ABSTRACT_ORIGINS.
I think this is a clue that the previous patch is just wrong.
If you patch around this problem, then we'll have a nice little
house of cards.