diff mbox

[7/9] Flatten cfgloop.h

Message ID 559BD8D1.3030803@redhat.com
State New
Headers show

Commit Message

Andrew MacLeod July 7, 2015, 1:49 p.m. UTC
This patch flattens cfgloop.h.  cfgloopmanip.h is utilized by numerous 
files which include cfgloop.h, so it seems to make sense to leave it 
here. The other 3 header files are going to form part of backend.h, so 
take them out.

I didn't bother posting the changes to all the source files since 
aggregating with backend.h would undo every one.

Bootstraps from scratch on x86_64-unknown-linux-gnu with no new 
regressions. Also compiles all the files in config-list.mk.
diff mbox

Patch


	* cfgloop.h: Remove all #includes except cfgloopmanip.h.

Index: cfgloop.h
===================================================================
*** cfgloop.h	(revision 225452)
--- cfgloop.h	(working copy)
*************** along with GCC; see the file COPYING3.
*** 20,28 ****
  #ifndef GCC_CFGLOOP_H
  #define GCC_CFGLOOP_H
  
- #include "bitmap.h"
- #include "sbitmap.h"
- #include "function.h"
  #include "cfgloopmanip.h"
  
  /* Structure to hold decision about unrolling/peeling.  */
--- 20,25 ----