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 x86 output_move_double corrupting cc0


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



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