Re: Fix BLOCK_SUPERCONTEXT for cilk produced functions

2014-07-17 Thread Jeff Law
On 07/07/14 14:14, Jan Hubicka wrote: On 07/04/14 03:05, Jan Hubicka wrote: Hi, BLOCK_SUPERCONTEXT for normal blocks leads all the way to FUNCTOIN_DECL. This is not the case of some automatically generated functions, like one for cilk. I think it is bug. This patch fixes cilk, I will look fo

Re: Fix BLOCK_SUPERCONTEXT for cilk produced functions

2014-07-07 Thread Jan Hubicka
> On 07/04/14 03:05, Jan Hubicka wrote: > >Hi, > >BLOCK_SUPERCONTEXT for normal blocks leads all the way to FUNCTOIN_DECL. > >This is not the case of some > >automatically generated functions, like one for cilk. I think it is bug. > >This patch fixes cilk, I will > >look for other cases if that

Re: Fix BLOCK_SUPERCONTEXT for cilk produced functions

2014-07-07 Thread Jeff Law
On 07/04/14 03:05, Jan Hubicka wrote: Hi, BLOCK_SUPERCONTEXT for normal blocks leads all the way to FUNCTOIN_DECL. This is not the case of some automatically generated functions, like one for cilk. I think it is bug. This patch fixes cilk, I will look for other cases if that looks OK. Bootst

Fix BLOCK_SUPERCONTEXT for cilk produced functions

2014-07-04 Thread Jan Hubicka
Hi, BLOCK_SUPERCONTEXT for normal blocks leads all the way to FUNCTOIN_DECL. This is not the case of some automatically generated functions, like one for cilk. I think it is bug. This patch fixes cilk, I will look for other cases if that looks OK. Bootstrapped/regtested x86_64-linux Honza