[Bug target/102376] [aarch64] using target("sve") attribute without a + is not very helpful on what is wrong

cvs-commit at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Nov 11 09:10:50 GMT 2021


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

--- Comment #2 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Prathamesh Kulkarni
<prathamesh3492@gcc.gnu.org>:

https://gcc.gnu.org/g:145be5efaf5674a7d25c723dc5684392a6276834

commit r12-5147-g145be5efaf5674a7d25c723dc5684392a6276834
Author: Prathamesh Kulkarni <prathamesh.kulkarni@linaro.org>
Date:   Thu Nov 11 14:37:22 2021 +0530

    [aarch64] PR102376 - Emit better diagnostic for arch extensions in target
attr.

    gcc/ChangeLog:
            PR target/102376
            * config/aarch64/aarch64.c (aarch64_process_target_attr): Check if
            token is arch extension without leading '+' and emit appropriate
            diagnostic for the same.

    gcc/testsuite/ChangeLog:
            PR target/102376
            * gcc.target/aarch64/pr102376.c: New test.


More information about the Gcc-bugs mailing list