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]

Re: Patch to fix gcse multiple set handling


> 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  |                         |
-------------------------------------------------------------------------


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