This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH, i386]: Remove unneeded ATTRIBUTE_UNUSED decorations
- From: Uros Bizjak <ubizjak at gmail dot com>
- To: Jakub Jelinek <jakub at redhat dot com>
- Cc: "gcc-patches at gcc dot gnu dot org" <gcc-patches at gcc dot gnu dot org>
- Date: Mon, 26 Aug 2013 11:16:44 +0200
- Subject: Re: [PATCH, i386]: Remove unneeded ATTRIBUTE_UNUSED decorations
- Authentication-results: sourceware.org; auth=none
- References: <CAFULd4ZsmsYd7qA8vQ02NCvW_5ZW42BqyERhHF7R2LMyPumbNg at mail dot gmail dot com> <20130826091322 dot GC21876 at tucnak dot zalov dot cz>
On Mon, Aug 26, 2013 at 11:13 AM, Jakub Jelinek <jakub@redhat.com> wrote:
> On Mon, Aug 26, 2013 at 11:04:42AM +0200, Uros Bizjak wrote:
>> static bool
>> -ix86_return_in_memory (const_tree type, const_tree fntype ATTRIBUTE_UNUSED)
>> +ix86_return_in_memory (const_tree type, const_tree fntype)
>> {
>> #ifdef SUBTARGET_RETURN_IN_MEMORY
>> return SUBTARGET_RETURN_IN_MEMORY (type, fntype);
>
> This doesn't look right, because the SUBTARGET_RETURN_IN_MEMORY
> definitions (interix and i386elf) don't mention the FNTYPE anywhere.
Uh, I missed the "#else".
Fixed in a followup patch.
Thanks,
Uros.