This is the mail archive of the gcc-patches@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: [Patch, c++] Fix C++ tests on HP-UX, Solaris, FreeBSD.


> This patch fixes g++.old-deja/g++.other/static14.C and
> g++.old-deja/g++.other/static20.C on IA64 HP-UX (and probably on
> i386-unknown-freebsd6.3 and Solaris too).

Yes, it does on Solaris too, thanks for fixing this.

> These tests started failing with r138150 when changes were made to C++
> inlining.  As part of that change setting DECL_INLINE and
> DECL_DECLARED_INLINE_P were removed from start_cleanup_fn.  DECL_INLINE
> no longer exists but DECL_DECLARED_INLINE_P still exists and should be
> set in start_cleanup_fn.

All the more so that the comment

  /* Make the function `inline' so that it is only emitted if it is
     actually needed.  It is unlikely that it will be inlined, since
     it is only called via a function pointer, but we avoid unnecessary
     emissions this way.  */

is still there.

-- 
Eric Botcazou


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