[patch] Second basic-block.h restructuring patch.

Andrew MacLeod amacleod@redhat.com
Mon Oct 20 18:39:00 GMT 2014


creates cfg.h, cfganal.h, lcm.h, and loop-unroll.h to house the 
prototypes for those .c files.

cfganal.h also gets "struct edge_list"  and "class control_dependences" 
definitions since that is where all the routines and manipulators are 
declared.

  loop-unroll.h only exports 2 routines, so rather than including that 
in basic-block.h I simply included it from the 2 .c files which consume 
those routines.  Again, the other includes will be flattened out of 
basic-block.h to just their consumers later.

loop-unroll.c also had one function I marked as static since it wasn't 
actually used anywhere else.

bootstraps on x86_64-unknown-linux-gnu, and regressions are running... I 
expect no regressions because of the nature of the changes.   OK to 
check in assuming everything is OK?

Andrew
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bb2.patch
Type: text/x-patch
Size: 17090 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20141020/1d93ee7f/attachment.bin>


More information about the Gcc-patches mailing list