i386.c (ix86_option_override_internal): Allow -mabi for 32-bit, too.
authorKai Tietz <ktietz@redhat.com>
Wed, 27 Jul 2011 15:33:50 +0000 (17:33 +0200)
committerKai Tietz <ktietz@gcc.gnu.org>
Wed, 27 Jul 2011 15:33:50 +0000 (17:33 +0200)
commit2fe83a0c9f923c21c75498982c2606beacc3f5d6
treecb7a4315cce97827ae4c9da452fbc01692572313
parenteb9820c0a3df0746ca13cbe767a2d39ef0a8c751
i386.c (ix86_option_override_internal): Allow -mabi for 32-bit, too.

        * config/i386/i386.c (ix86_option_override_internal): Allow -mabi
        for 32-bit, too.
        (ix86_handle_abi_attribute): Allow function attributes
        ms_abi/sysv_abi in 32-bit mode, too.
        * doc/extend.texi: Adjust attribute documentation.

        * gcc.target/i386/aggregate-ret3.c: New test.
        * gcc.target/i386/aggregate-ret4.c: New test.

From-SVN: r176828
gcc/ChangeLog
gcc/config/i386/i386.c
gcc/doc/extend.texi
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/i386/aggregate-ret3.c [new file with mode: 0644]
gcc/testsuite/gcc.target/i386/aggregate-ret4.c [new file with mode: 0644]