[PATCH] Make ir_type differentiate between cfgrtl and cfglayout mode

Steven Bosscher stevenb.gcc@gmail.com
Thu Nov 23 17:40:00 GMT 2006

On 11/23/06, Serge Belyshev <belyshev@depni.sinp.msu.ru> wrote:
> The actual cause is simple: we are calling current_ir_type()
> from garbage collector before any of *_register_cfg_hooks() functions
> was ever called, here is backtrace:

Uh, that's weird.  That means we have a CFG even though we shouldn't.

The failures you mention appear to be PCH-related, but I don't
understand how that can be. When we create PCHs, afaiu, we don't get
outside of the front end, so we shouldn't have any edges and basic
blocks in the PCH file.

I'll try and investigate this a bit.


More information about the Gcc-patches mailing list