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]
Other format: [Raw text]

[patch i386]: Enable ms_abi/sysv_abi and add testcases


Hi,

This patch enables the new function attributes sysv_abi and ms_abi for 
i386 attribute based calling convention switch for x86_64 and w64.
The test are just executed for x86_64-*-linux*, because the va_list 
arguments are at the moment not compatible for variable-argument calls 
from w64  to x86_64.

ChangeLog

2008-06-12  Kai Tietz  <kai.tietz@onevision.com>

        * config/i386/i386.c (ix86_handle_abi_attribute): New.
        (ix86_attribute_table): Add sysv_abi and ms_abi attribute.

2008-06-12  Kai Tietz  <kai.tietz@onevision.com>

        * gcc.dg/callabi/callabi.h: New.
        * gcc.dg/callabi/vaarg-1.c: New.
        * gcc.dg/callabi/func-1.c: New.

Is this patch ok for apply?

Cheers,
Kai



|  (\_/)  This is Bunny. Copy and paste Bunny
| (='.'=) into your signature to help him gain
| (")_(") world domination.

Attachment: callabi_tstcase.txt
Description: Text document


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