This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Patch to fix x86 output_move_double corrupting cc0
- To: law at cygnus dot com
- Subject: Re: Patch to fix x86 output_move_double corrupting cc0
- From: John Wehle <john at feith dot com>
- Date: Thu, 15 Apr 1999 14:48:30 -0400 (EDT)
- Cc: egcs-patches at egcs dot cygnus dot com, rth at cygnus dot com
>> > Actually is find_addr_reg and asm_add necessary for the x86 port?
>> > I can't think of a valid x86 memory address which is not offsettable.
> I don't think they are.
This may of course explain why no one ran into the problem of cc0 being
clobbered as the code was never actually executed. If there are no
objections I'll put together a patch which kills the find_addr_reg stuff
and simply aborts in the unlikely chance that a nonoffsettable memory
address is encountered.
-- John
-------------------------------------------------------------------------
| Feith Systems | Voice: 1-215-646-8000 | Email: john@feith.com |
| John Wehle | Fax: 1-215-540-5495 | |
-------------------------------------------------------------------------