Hi This is a simple fix for pr94577. The option -mabi=ilp32 should not be used in large code model. Like x86, using -mx32 and -mcmodel=large together will result in an error message. On aarch64, there is no error message for this option conflict. A solution to this problem can be found in the attached patch. Bootstrap and tested on aarch64 Linux platform. No new regression witnessed. Any suggestion?
Thanks, Duan bo Log: gcc: +2020-04-13 Duan bo <duan...@huawei.com> + + PR target/94577 + * config/aarch64/aarch64.c: add an error message for option conflict gcc/testsuite: +2020-04-13 Duan bo <duan...@huawei.com> + + PR target/94577 + * gcc.target/aarch64/pr94577.c : New test
pr94577-v0.patch
Description: pr94577-v0.patch