Re: Gcc plugin: error: ‘LAST_AND_UNUSED_RTX_CODE’ undeclared
Andrew Pinski
pinskia@gmail.com
Fri Feb 26 18:05:00 GMT 2010
On Fri, Feb 26, 2010 at 9:26 AM, ashish jain <ashish_ddr2@yahoo.co.in> wrote:
> Hi,
>
> I am trying to write a simple gcc plugin and am getting the following errors.
>
> In file included from /home/aj/gcc/trunk/gcc/rtl.h:49,
> from /home/aj/gcc/testcode/plugin/ctla_gcc_plugin.c:22:
> /home/aj/gcc/trunk/gcc/rtl.def:336: error: expected identifier before ‘const’
From the looks of it, you have a define for CONST as const. This
first error is the reason for the rest of the errors.
Thanks,
Andrew Pinski
More information about the Gcc
mailing list