https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120645
--- Comment #1 from Francois-Xavier Coudert <fxcoudert at gcc dot gnu.org> --- Created attachment 61630 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=61630&action=edit Proposed patch Proposed patch to fix the issue and test. Also fixes a comment in a related function, validate_macosx_version_min() --- but I do not think this function needs to be adapted. Patch has been bootstrapped on aarch64-apple-darwin25