reg_equiv_memory_loc vs. garbage collection

Jim Wilson wilson@specifixinc.com
Fri May 14 06:38:00 GMT 2004


Joern Rennecke wrote:
It appears that rtl referenced by reg_equiv_memory_loc lives across
a garbage collection point.
This is an SH specific problem, as the SH port is the only one that 
defines the ALLOCATE_INITIAL_VALUE macro.  The definition in 
config/sh/sh.h has no comment, so I don't know what it is doing.  It 
also turns out that this is code you wrote.  So you probably should try 
to fix it yourself.

You might also consider whether having SH specific macros in the 
optimizer is a good idea.  The cost of maintaining them may not be worth 
the trouble.

Note that reporting a bug to the gcc list doesn't really do anything 
useful.  If you want the SH port fixed, and you don't plan to fix it 
yourself, then you should create a bugzilla bug report.  Otherwise, it 
will just be forgotten.
--
Jim Wilson, GNU Tools Support, http://www.SpecifixInc.com




More information about the Gcc mailing list