This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: question about gtype-desc.c



> -----Original Message-----
> From: gcc-owner@gcc.gnu.org [mailto:gcc-owner@gcc.gnu.org] On Behalf Of
> Jakub Jelinek
> Sent: Tuesday, February 4, 2014 5:23 PM
> To: Iyer, Balaji V
> Cc: gcc@gcc.gnu.org
> Subject: Re: question about gtype-desc.c
> 
> On Tue, Feb 04, 2014 at 10:12:13PM +0000, Iyer, Balaji V wrote:
> > Hello Jakub,
> > 	I think I have found a fix to _Cilk_for to be structured the way you
> requested. I am currently trying to clean up my code so that I can send you a
> patch.
> >
> > 	Now, I am trying to remove the 2 fields I put in gimple_omp_for_iter:
> loop_count and grain. But, it is giving the following errors when I remove it.
> >
> > Do you know what is causing it and how I can fix it?
> >
> > gtype-desc.c: In function âvoid
> gt_ggc_mx_gimple_statement_base(void*)â:
> > gtype-desc.c:1721: error: âstruct gimple_omp_for_iterâ has no member
> > named âloop_countâ
> > gtype-desc.c:1721: error: âstruct gimple_omp_for_iterâ has no member
> > named âloop_countâ
> > gtype-desc.c:1722: error: âstruct gimple_omp_for_iterâ has no member
> > named âgrainâ
> > gtype-desc.c:1722: error: âstruct gimple_omp_for_iterâ has no member
> > named âgrainâ
> > gtype-desc.c: In function âvoid
> gt_pch_nx_gimple_statement_base(void*)â:
> > gtype-desc.c:4854: error: âstruct gimple_omp_for_iterâ has no member
> > named âloop_countâ
> > gtype-desc.c:4854: error: âstruct gimple_omp_for_iterâ has no member
> > named âloop_countâ
> > gtype-desc.c:4855: error: âstruct gimple_omp_for_iterâ has no member
> > named âgrainâ
> > gtype-desc.c:4855: error: âstruct gimple_omp_for_iterâ has no member
> > named âgrainâ
> > gtype-desc.c: In function âvoid
> gt_pch_p_21gimple_statement_base(void*, void*, void (*)(void*, void*),
> void*)â:
> > 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?



> 
> 	Jakub


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]