This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH, testsuite] fix ggcplug.c test-case
- From: Richard Biener <rguenther at suse dot de>
- To: Prathamesh Kulkarni <prathamesh dot kulkarni at linaro dot org>
- Cc: Michael Collison <michael dot collison at linaro dot org>, Andrew MacLeod <amacleod at redhat dot com>, Maxim Kuvyrkov <maxim dot kuvyrkov at linaro dot org>, gcc Patches <gcc-patches at gcc dot gnu dot org>
- Date: Mon, 12 Jan 2015 09:49:45 +0100 (CET)
- Subject: Re: [PATCH, testsuite] fix ggcplug.c test-case
- Authentication-results: sourceware.org; auth=none
- References: <CAAgBjMmqAX-5BpUbH9fzWiUU2DO3_hTKSeOrgJA_MerDR8HOKQ at mail dot gmail dot com>
On Sun, 11 Jan 2015, Prathamesh Kulkarni wrote:
> Hi,
> The test-case plugin/ggcplug.c was failing due to flattening of tree.h
> and tree-core.h.
> Test-case was incorrect because it included gcc-plugin.h after tree.h whereas
> gcc-plugin.h should be the first header to be included by plugins.
No, it should be definitely included _after_ config.h, system.h
and coretypes.h.
Ok with moving it after coretypes.h.
Thanks,
Richard.