Oh my god, it's full of NULLs

Jim Wilson wilson@specifixinc.com
Thu Mar 18 08:19:00 GMT 2004


Dave Korn wrote:
>   I've found where gen_reg_rtx (not gen_rtx_REG!) sets the entry for each
> new pseudo that's allocated, but I haven't managed to find any code that
> sets up entries for the hard regs.

In 3.3 and later, there is a static_regno_reg_rtx array that is 
initialized in init_emit_once, and then copied into regno_reg_rtx in 
init_emit.

In 3.2, you are out of luck unless you backport more patches.

See Jeff Law's 2002-06-07 change, and his 2002-06-13 change.
-- 
Jim Wilson, GNU Tools Support, http://www.SpecifixInc.com



More information about the Gcc mailing list