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

--- Comment #20 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Alexandre Oliva <aol...@gcc.gnu.org>:

https://gcc.gnu.org/g:d94eb26871d730d7f670a0d3367e976ecb05736a

commit r16-3340-gd94eb26871d730d7f670a0d3367e976ecb05736a
Author: Alexandre Oliva <ol...@adacore.com>
Date:   Thu Aug 21 21:46:22 2025 -0300

    [arm] require armv7 support for [PR120424]

    Without stating the architecture version required by the test, test
    runs with options that are incompatible with the required
    architecture version fail, e.g. -mfloat-abi=hard.

    armv7 was not covered by the long list of arm variants in
    target-supports.exp, so add it, and use it for the effective target
    requirement and for the option.


    for  gcc/testsuite/ChangeLog

            PR rtl-optimization/120424
            * lib/target-supports.exp (arm arches): Add arm_arch_v7.
            * g++.target/arm/pr120424.C: Require armv7 support.  Use
            dg-add-options arm_arch_v7 instead of explicit -march=armv7.

Reply via email to