[PATCH, testsuite] fix ggcplug.c test-case
Prathamesh Kulkarni
prathamesh.kulkarni@linaro.org
Mon Jan 12 09:14:00 GMT 2015
On 12 January 2015 at 14:19, Richard Biener <rguenther@suse.de> wrote:
> 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.
gcc-plugin.h already includes these files. Shall I remove config.h,
system.h and coretypes.h
from ggcplug.c instead ?
>
> Ok with moving it after coretypes.h.
>
> Thanks,
> Richard.
More information about the Gcc-patches
mailing list