This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[patch 7/9] Flatten cfgloop.h


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.

	* 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 ----

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]