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]: Some classify_argument and return_in_memory cleanups


Hello!

Attached patch changes return type of classify_argument to bool and
merges a couple of called-once functions to their call sites. The
later change removes a bunch of functions, declared with
ATTRIBUTE_UNUSED.

2014-04-14  Uros Bizjak  <ubizjak@gmail.com>

    * config/i386/i386.c (examine_argument): Return bool.  Return true if
    parameter should be passed in memory.
    <case X86_64_COMPLEX_X87_CLASS>: Adjust.
    (construct_container): Update calls to examine_argument.
    (function_arg_advance_64): Ditto.
    (return_in_memory_32): Merge with ix86_return_in_memory.
    (return_in_memory_64): Ditto.
    (return_in_memory_ms_64): Ditto.

Bootstrapped and regtested on x86_64-pc-linux-gnu {,-m32} and
committed to mainline SVN.

Uros.

Attachment: p.diff.txt
Description: Text document


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