[PATCH, PR63307] Fix generation of new declarations in random order

Jakub Jelinek jakub@redhat.com
Tue Oct 21 08:42:00 GMT 2014


On Tue, Oct 21, 2014 at 10:14:56AM +0200, Jakub Jelinek wrote:
> I've bootstrapped/regtested on i686-linux the following quick fix,
> bootstrapped on x86_64-linux too, in the middle of regtesting there.
> If it succeeds, I'll commit as obvious, so that people can continue working
> on the trunk.

Ah, Kyrill has reverted the commit in the mean time, so there is no rush for
this, so I'm not going to commit it now.

The question remains, are the decls all you need from the traversal (i.e.
what you need to act upon)?  From my earlier skim of the original code that
wasn't that obvious.
You can have in decl_map at least also BLOCKs, perhaps types too, what else?

> 2014-10-21  Jakub Jelinek  <jakub@redhat.com>
> 
> 	* cilk.c (fill_decls_vec): Only put decls into vector v.
> 	(compare_decls): Fix up formatting.

	Jakub



More information about the Gcc-patches mailing list