[PATCH] Reduce GC walk recursion depth for types

2014-03-19 Thread Richard Biener
This reduces GC walk recursion depth in two ways. First by re-ordering tree_type_common members to move 'name' last and 'canonical' before 'next_variant'. That makes us first recurse downward (type, pointer_to/reference_to), then on the same level (canonical, next_variant, main_variant) and

Re: [PATCH] Reduce GC walk recursion depth for types

2014-03-19 Thread Jakub Jelinek
On Wed, Mar 19, 2014 at 02:02:10PM +0100, Richard Biener wrote: LTO bootstrap running on x86_64-unknown-linux-gnu. Ok for trunk? Thanks, Richard. 2014-03-19 Richard Biener rguent...@suse.de PR middle-end/60553 * tree-core.h (tree_type_common): Re-order pointer members