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] PR other/63613: Add fixincludes for dejagnu.h


David Malcolm <dmalcolm@redhat.com> writes:

> <dejagnu.h> assumed -fgnu89-inline until a recent upstream fix;
> see http://lists.gnu.org/archive/html/dejagnu/2014-10/msg00011.html
>
> Remove the workaround from jit.exp that used -fgnu89-inline
> in favor of a fixincludes to dejagnu.h that applies the upstream fix
> to a local copy.
>
> This should make it easier to support C++ testcases from jit.exp.

I wonder how this would work if dejagnu.h doesn't live in a system
include dir (e.g. a self-compiled version)?  fixincludes won't touch
those AFAIU.  The previous version with -fgnu89-inline would still work
in that case provided dejagnu.h is found at all.

	Rainer

-- 
-----------------------------------------------------------------------------
Rainer Orth, Center for Biotechnology, Bielefeld University


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