This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
RE: question about gtype-desc.c
- From: "Iyer, Balaji V" <balaji dot v dot iyer at intel dot com>
- To: Jakub Jelinek <jakub at redhat dot com>
- Cc: "gcc at gcc dot gnu dot org" <gcc at gcc dot gnu dot org>
- Date: Tue, 4 Feb 2014 23:07:25 +0000
- Subject: RE: question about gtype-desc.c
- Authentication-results: sourceware.org; auth=none
- References: <BF230D13CA30DD48930C31D4099330003A4CBE7C at FMSMSX101 dot amr dot corp dot intel dot com> <20140204222317 dot GV12671 at tucnak dot redhat dot com> <BF230D13CA30DD48930C31D4099330003A4CBE9A at FMSMSX101 dot amr dot corp dot intel dot com> <20140204223555 dot GW12671 at tucnak dot redhat dot com>
> -----Original Message-----
> From: Jakub Jelinek [mailto:jakub@redhat.com]
> Sent: Tuesday, February 4, 2014 5:36 PM
> To: Iyer, Balaji V
> Cc: gcc@gcc.gnu.org
> Subject: Re: question about gtype-desc.c
>
> On Tue, Feb 04, 2014 at 10:26:20PM +0000, Iyer, Balaji V wrote:
> > > > gtype-desc.c:8176: error: âstruct gimple_omp_for_iterâ has no
> > > > member named âloop_countâ
> > > > gtype-desc.c:8178: error: âstruct gimple_omp_for_iterâ has no
> > > > member named âgrainâ
> > > >
> > > > These files are in the build directory. I deleted everything and
> > > > reconfigured
> > > but the error reappears.
> > >
> > > You mean you've started a new build directory, or just removed *.o
> > > or something similar? I'd suggest to rm s-gtype gtype-desc.c and make s-
> gtype.
> >
> > I did the following
> >
> > cd build_dir
> > rm -rf *
> > ../gcc/configure --prefix=$PWD/../install --enable-languages="c,c++"
> > make
> >
> > Should I do make s-gtype before I do "make" above?
>
> What you did should be more than enough. But then, I didn't see
> loop_count nor grain fields of gimple_omp_for_iter in your previously
> posted patches (only your ChangeLog mentioned it). So, if you start with
> wiping up the build directory, I think you have to grep where the fields
> appear.
>
OK. Found the issue. I had the 2 fields enclosed inside a #if 0 and #endif
I guess whatever that is reading the fields to create gtype-desc.c does not understand C/C++ pre-processing, and thus it didn't ignore the fields in between #if 0.
Thanks,
Balaji V. Iyer.