This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]