This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: [tree-ssa] string builtins strikes back
- From: law at redhat dot com
- To: Jan Hubicka <hubicka at ucw dot cz>
- Cc: Richard Henderson <rth at redhat dot com>, Jan Hubicka <jh at suse dot cz>, gcc at gcc dot gnu dot org
- Date: Mon, 15 Dec 2003 16:41:25 -0700
- Subject: Re: [tree-ssa] string builtins strikes back
- Reply-to: law at redhat dot com
In message <20031215233133.GB19896@atrey.karlin.mff.cuni.cz>, Jan Hubicka write
s:
>> On Thu, Dec 11, 2003 at 07:11:49PM +0100, Jan Hubicka wrote:
>> > What would be best to cope with this?
>>
>> Re-gimplify.
>
>You mean re-gimplify after each fold call? (or just fold_builtins) Also
>we probably need to extend fold_stmt API somewhat to allow it
>introducing several statements instead of one (passing around block
>iterator and returning pointer to first simplified?)
I disagree with Richard's recommendation. If the folder gives us back
something that is not gimple, then we shouldn't use it -- at least not
at this time, we might want to re-gimplify such things in some cases.
Rather than build the bits to re-gimplify, I'd first look much closer at
why the folder gave us back something which was not gimple.
jeff