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 22:26:20 +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>
> -----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