[tree-ssa] kill handling of non-gimple address

law@redhat.com law@redhat.com
Mon Dec 1 19:33:00 GMT 2003


In message <20031126083149.GV13588@kam.mff.cuni.cz>, Jan Hubicka writes:
 >> On Tue, 25 Nov 2003 23:56:45 +0100, Jan Hubicka <hubicka@ucw.cz> wrote:
 >> 
 >> > Hi,
 >> > after Richard's change, this should be no longer needed.
 >> 
 >> > 	* fold-const.c (nondestructive_fold_binary_to_constant): Avoid unnecesa
 >ry
 >> > 	handling of non-gimple address expressions.
 >> 
 >> Is this function only called for gimple code?
 >I would suppose so.  It has been invented to do simplification on gimple
 >during CCP pass, but I may be wrong now...
Err, no.

It was extracted from the generic folder so that it *could* be called from
things like CCP.  It can still be called from the generic folder on 
arbitrary expressions.

jeff



More information about the Gcc-patches mailing list