This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Patch to fix gcse multiple set handling
- To: kenner at vlsi1 dot ultra dot nyu dot edu
- Subject: Re: Patch to fix gcse multiple set handling
- From: John Wehle <john at feith dot com>
- Date: Sat, 10 Mar 2001 09:25:36 -0500 (EST)
- Cc: gcc-patches at gcc dot gnu dot org
> Can you say what the problem is?
hash_scan_insn has the comment:
/* Process INSN and add hash table entries as appropriate.
Only available expressions that set a single pseudo-reg are recorded.
and pre_delete contains:
if (TEST_BIT (temp_bitmap[bb], indx))
{
set = single_set (insn);
if (! set)
abort ();
which leads me to believe that gcse can only handle single sets.
This belief is supported by the above abort being triggered
when building --target=arm-elf where the insn contains multiple
sets.
-- John
-------------------------------------------------------------------------
| Feith Systems | Voice: 1-215-646-8000 | Email: john@feith.com |
| John Wehle | Fax: 1-215-540-5495 | |
-------------------------------------------------------------------------