Hi,

    I noticed that gcc.target/aarch64/pragma_cpp_predefs_1.c performs testing 
for -mgeneral-regs-only.
    This adds similar testing in the following two tests to make sure CPP 
predefines redefinitions on #pragma
    works as expected when -mgeneral-regs-only option is specified (See 
PR94678):
        gcc.target/aarch64/pragma_cpp_predefs_2.c
        gcc.target/aarch64/pragma_cpp_predefs_3.c

    The two tests pass with the modification.  OK?

    gcc/testsuite/
        PR target/94678
        * gcc.target/aarch64/pragma_cpp_predefs_2.c: Fix typos, pop_pragma ->
        pop_options. Add tests for general-regs-only.
        * gcc.target/aarch64/pragma_cpp_predefs_3.c: Add tests for
        general-regs-only.

Thanks for your help,
Felix

Attachment: add-sve-predef-tests-v1.diff
Description: add-sve-predef-tests-v1.diff

Reply via email to