This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [tree-ssa] kill handling of non-gimple address
- From: law at redhat dot com
- To: Jan Hubicka <jh at suse dot cz>
- Cc: Jason Merrill <jason at redhat dot com>, Jan Hubicka <hubicka at ucw dot cz>, gcc-patches at gcc dot gnu dot org, rth at redhat dot com
- Date: Mon, 01 Dec 2003 12:32:44 -0700
- Subject: Re: [tree-ssa] kill handling of non-gimple address
- Reply-to: law at redhat dot com
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