This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] PR other/63613: Add fixincludes for dejagnu.h
- From: Rainer Orth <ro at CeBiTec dot Uni-Bielefeld dot DE>
- To: David Malcolm <dmalcolm at redhat dot com>
- Cc: gcc-patches at gcc dot gnu dot org, Bruce Korb <bkorb at gnu dot org>
- Date: Thu, 04 Dec 2014 23:42:27 +0100
- Subject: Re: [PATCH] PR other/63613: Add fixincludes for dejagnu.h
- Authentication-results: sourceware.org; auth=none
- References: <1417731550-14963-1-git-send-email-dmalcolm at redhat dot com>
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