* [pushed] Darwin: Sync coverage specs with gcc/gcc.cc.
@ 2024-04-08 8:00 Iain Sandoe
0 siblings, 0 replies; only message in thread
From: Iain Sandoe @ 2024-04-08 8:00 UTC (permalink / raw)
To: gcc-patches
Tested on x86_64 and aarch64 Darwin, pushed to trunk, thanks,
Iain
--- 8< ---
The specs for coverage ere out of date leading to test fails for
fcondition-coverage cases. Fixed by updating to match the specs
in gcc/gcc.cc.
gcc/ChangeLog:
* config/darwin.h (LINK_COMMAND_SPEC_A): Update coverage
specs.
Signed-off-by: Iain Sandoe <iain@sandoe.co.uk>
---
gcc/config/darwin.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gcc/config/darwin.h b/gcc/config/darwin.h
index 31019a0c49d..c09b9e9dc94 100644
--- a/gcc/config/darwin.h
+++ b/gcc/config/darwin.h
@@ -406,7 +406,7 @@ extern GTY(()) int darwin_ms_struct;
%{!r:%{!nostdlib:%{!nodefaultlibs: " DARWIN_WEAK_CRTS "}}} \
%o \
%{!r:%{!nostdlib:%{!nodefaultlibs:\
- %{fprofile-arcs|fprofile-generate*|coverage:-lgcov} \
+ %{fprofile-arcs|fcondition-coverage|fprofile-generate*|coverage:-lgcov} \
%{fopenacc|fopenmp|%:gt(%{ftree-parallelize-loops=*:%*} 1): \
%{static|static-libgcc|static-libstdc++|static-libgfortran: \
libgomp.a%s; : -lgomp }} \
--
2.39.2 (Apple Git-143)
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2024-04-08 8:00 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-04-08 8:00 [pushed] Darwin: Sync coverage specs with gcc/gcc.cc Iain Sandoe
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).