> -----Original Message----- > From: Jakub Jelinek [mailto:ja...@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.