https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120645
--- Comment #6 from Francois-Xavier Coudert ---
(In reply to Pascal Pignard from comment #5)
> Shouldn't the function get it directly from macOS with sw_vers?
The current method avoids a fork and exec, and also doesn't require linking to
specif
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120645
Pascal Pignard changed:
What|Removed |Added
CC||p.p11 at orange dot fr
--- Comment #5
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120645
--- Comment #4 from GCC Commits ---
The releases/gcc-15 branch has been updated by Iain D Sandoe
:
https://gcc.gnu.org/g:c677121d3843e383906a4d7679dc647808ddab3a
commit r15-10107-gc677121d3843e383906a4d7679dc647808ddab3a
Author: Francois-Xavie
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120645
--- Comment #3 from GCC Commits ---
The master branch has been updated by Francois-Xavier Coudert
:
https://gcc.gnu.org/g:cc4f3397331f6ecd5e775cf963c65face0145f3f
commit r16-2231-gcc4f3397331f6ecd5e775cf963c65face0145f3f
Author: Francois-Xavie
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120645
Rainer Orth changed:
What|Removed |Added
Target Milestone|--- |16.0
Last reconfirmed|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120645
--- Comment #1 from Francois-Xavier Coudert ---
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,