]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/config/rs6000/rs6000.c
function.c (assign_parms): Split complex arguments.
authorAldy Hernandez <aldyh@redhat.com>
Tue, 3 Jun 2003 11:14:07 +0000 (11:14 +0000)
committerAldy Hernandez <aldyh@gcc.gnu.org>
Tue, 3 Jun 2003 11:14:07 +0000 (11:14 +0000)
commitded9bf77e35ce9a22468a1f56595df0741e2f22a
tree20dae8c49de7b0cfdf57e381abee0961ed2ef0d6
parent24a4dd31f80136aadf69774545916675b50836d6
function.c (assign_parms): Split complex arguments.

2003-06-03  Aldy Hernandez  <aldyh@redhat.com>

        * function.c (assign_parms): Split complex arguments.

        * doc/tm.texi (SPLIT_COMPLEX_ARGS): Document.

        * expr.h (SPLIT_COMPLEX_ARGS): Define.
        (split_complex_types): Protoize.
        (split_complex_values): Protoize.

        * calls.c (expand_call): Split complex arguments on architectures
        that require it.
        (split_complex_values): New.
        (split_complex_types): New.

        * config/rs6000/rs6000.c (rs6000_libcall_value): New.
        (rs6000_function_value): Handle complex values on AIX.
        (rs6000_complex_function_value): New.

        * config/rs6000/rs6000-protos.h (rs6000_libcall_value): Protoize.

        * config/rs6000/rs6000.h (LIBCALL_VALUE): Call function.
        (SPLIT_COMPLEX_ARGS): New.

From-SVN: r67367
gcc/ChangeLog
gcc/calls.c
gcc/config/rs6000/rs6000-protos.h
gcc/config/rs6000/rs6000.c
gcc/config/rs6000/rs6000.h
gcc/doc/tm.texi
gcc/expr.h
gcc/function.c