[Bug target/94577] aarch64:Add an error message in large code model for ilp32

cvs-commit at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Apr 21 14:09:46 GMT 2020


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94577

--- Comment #1 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Richard Sandiford <rsandifo@gcc.gnu.org>:

https://gcc.gnu.org/g:6c0ab626113ef20ee2986cb8a102b5394aeb888a

commit r10-7847-g6c0ab626113ef20ee2986cb8a102b5394aeb888a
Author: XieZhiheng <xiezhiheng@huawei.com>
Date:   Tue Apr 21 15:09:23 2020 +0100

    aarch64: Add an error message in large code model for ilp32 [PR94577]

    The option -mabi=ilp32 should not be used in large code model. An error
    message is added for the option conflict.

    2020-04-21  Duan bo  <duanbo3@huawei.com>

    gcc/
            PR target/94577
            * config/aarch64/aarch64.c: Add an error message for option
conflict.
            * doc/invoke.texi (-mcmodel=large): Mention that -mcmodel=large is
            incompatible with -fpic, -fPIC and -mabi=ilp32.

    gcc/testsuite/
            PR target/94577
            * gcc.target/aarch64/pr94577.c: New test.


More information about the Gcc-bugs mailing list