This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [patch i386]: Fix for PR/36834
- From: NightStrike <nightstrike at gmail dot com>
- To: Kai Tietz <ktietz70 at googlemail dot com>
- Cc: GCC Patches <gcc-patches at gcc dot gnu dot org>, Richard Henderson <rth at redhat dot com>
- Date: Tue, 14 Dec 2010 10:23:07 -0500
- Subject: Re: [patch i386]: Fix for PR/36834
- References: <AANLkTikcaKnhwDyLAjjrrww4V1ej-AjbLcUa3t_cttCO@mail.gmail.com>
On Fri, Dec 3, 2010 at 6:31 AM, Kai Tietz <ktietz70@googlemail.com> wrote:
> Hello,
>
> this patch addresses described bug report at
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36834
>
> ChangeLog
>
> gcc/
> 2010-12-03 ?Kai Tietz
>
> ? ? ? ?PR target/36834
> ? ? ? ?* config/i386/i386.c (ix86_keep_aggregate_return_pointer):
> ? ? ? ?New local function.
> ? ? ? ?(ix86_return_pops_args): Use ix86_keep_aggregate_return_pointer
> ? ? ? ?function instead of KEEP_AGGREGATE_RETURN_POINTER.
> ? ? ? ?(ix86_handle_keep_aggregate_return_ptr_attrib): New handler.
> ? ? ? ?(ix86_attribute_table): Add new attributes
> ? ? ? ?dont_keep_aggregate_return_pointer and keep_aggregate_return_pointer.
> ? ? ? ?* doc/extend.texi (dont_keep_aggregate_return_pointer): Add
> ? ? ? ?attribute documentation.
> ? ? ? ?(keep_aggregate_return_pointer): Likewise.
>
> gcc/testsuite/
> 2010-12-03 ?Kai Tietz
>
> ? ? ? ?PR target/36834
> ? ? ? ?* gcc.target/i386/aggregate-ret1.c: New.
> ? ? ? ?* gcc.target/i386/aggregate-ret2.c: New.
>
> Tested for i686-w64-mingw32, x86_64-w64-mingw32, i686-pc-cygwin. Ok for apply?
>
> Regards,
> Kai
>
Ping