[PATCH] Fix PR38891, using ms_abi function attribute with -mno-sse generates an internal compiler error

Guo, Xuepeng xuepeng.guo@intel.com
Fri Feb 13 07:36:00 GMT 2009


OK. Here is the updated patch including a testcase.

Regards
Xuepeng Guo

>-----Original Message-----
>From: H.J. Lu [mailto:hjl.tools@gmail.com]
>Sent: 2009年2月13日 10:41
>To: Guo, Xuepeng
>Cc: gcc-patches@gcc.gnu.org
>Subject: Re: [PATCH] Fix PR38891, using ms_abi function attribute with -mno-sse
>generates an internal compiler error
>
>On Thu, Feb 12, 2009 at 6:37 PM, Guo, Xuepeng <xuepeng.guo@intel.com> wrote:
>> This is caused by the order of initializing call_used_regs.
>>
>> Bootstrapped and tested on x86_64-unknown-linux-gnu. OK for trunk?
>>
>> Regards
>> Xuepeng Guo
>>
>> 2009-02-13  Xuepeng Guo  <xuepeng.guo@intel.com>
>>
>>       PR c/38891
>>       * config/i386/i386.h (CONDITIONAL_REGISTER_USAGE): Move the hunk
>of
>>       initialization for MS_ABI prior to the hunk of !TARGET_MMX.
>>
>
>Please include a testcase.
>
>Thanks.
>
>--
>H.J.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pr38891.patch
Type: application/octet-stream
Size: 2837 bytes
Desc: pr38891.patch
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20090213/3d65667f/attachment.obj>


More information about the Gcc-patches mailing list