Re: [patch] Do not include rtl.h in cfgloop.h

2012-06-11 Thread Richard Guenther
On Wed, Jun 6, 2012 at 5:16 PM, Steven Bosscher wrote: > Hello, > > cfgloop.h only depends on rtl.h for rtx_code. The patch introduces a > new enum and a simple function to convert from one enum to another in > a few non-performance critical places. > > The upside is that this makes most of the tr

[patch] Do not include rtl.h in cfgloop.h

2012-06-06 Thread Steven Bosscher
Hello, cfgloop.h only depends on rtl.h for rtx_code. The patch introduces a new enum and a simple function to convert from one enum to another in a few non-performance critical places. The upside is that this makes most of the tree-* files independent of rtl.h. Bootstrapped on x86_64-unknown-lin