Fix PR 53743 and other -freorder-blocks-and-partition failures

Steven Bosscher stevenb.gcc@gmail.com
Thu May 23 05:21:00 GMT 2013


On Thu, May 23, 2013 at 4:07 AM, Jeff Law wrote:
> On 05/22/2013 04:07 PM, Steven Bosscher wrote:
>>
>>
>> The problem here is two things:
>>
>> 1. Many GCC developers still don't fully grasp the difference between
>> cfglayout mode and the older cfgrtl mode.
>
> Absolutely true.  I'd actually love it if someone (you?) could write up the
> basics of cfglayout mode.  Why does it exist, what things should a developer
> need to know about it, etc.

I did that already, way back in 2006, based on a presentation I gave
at the Moscow Gelato meeting (see attachment). I first posted it as a
patch for doc/cfg.texi (twice) but it never got reviewed, so I put it
on the GCC Wiki instead: http://gcc.gnu.org/wiki/cfglayout_mode

The change-over to MoinMoin mangled the page markup so it's a bit
messy right now. It's also 7 year old text that hasn't been updated to
reflect the current state of the compiler (with almost all pre
register allocator passes working in cfglayout mode).

I will clean it up again and create a new diff for cfg.texi.

Ciao!
Steven
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Gelato_Moscow_GCC_meeting_stevenb.odp.gz
Type: application/x-gzip
Size: 25143 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20130523/0c91dedb/attachment.bin>


More information about the Gcc-patches mailing list