[ip2k port] bugfix

Zack Weinberg zack@codesourcery.com
Mon Aug 26 00:39:00 GMT 2002


On Tue, Aug 13, 2002 at 02:00:23PM +0400, Denis Chertykov wrote:
> 
> 2002-08-13  Denis Chertykov  <denisc@overta.ru>
> 
> 	* config/ip2k/ip2k.c (commands_in_file): Variable removed.
> 	(function_epilogue): Don't calculate function size.
> 	(ip2k_set_compare): Don't use lookup_const_double.
> 	(asm_file_start): Initialization of commands_in_file removed.
> 	(asm_file_end): Output of commands_in_file removed.

ip2k_set_compare is still constructing its own CONST_DOUBLEs, which is
verboten.  CONST_DOUBLEs are opaque entities and may be manipulated
*only* by the interfaces exposed in real.h and rtl.h.

Looking at the function, it appears to be forcing the creation of
non-canonical RTL, which is also a no-no.  What are you actually
trying to achieve here?

zw



More information about the Gcc-patches mailing list