On Mon, Oct 06, 2025 at 22:55:59 -0400, Ben Boeckel wrote:
> Here are some minor fixes to documentation, formatting, and styling to
> the P1689R5 support through the `-fdeps-*` flags.

Ping? Is there anyone who can merge this if it is OK? There is one
trivial conflict resolution in Patch 3 (new version attached).

Thanks,

--Ben
>From 2b95a6be1aa44b247dcfdf8ca53c784511da6da8 Mon Sep 17 00:00:00 2001
From: Ben Boeckel <[email protected]>
Date: Tue, 2 Apr 2024 08:20:35 -0400
Subject: [PATCH 3/3] gcc/c-family/c.opt: clarify `-fdeps-*` flag documentation

Move the only supported value (as of today) to the flag name itself.
Also reword to clarify that the `-fdeps-file=` file will be written to.

Fixes: 024f135a1e9 (p1689r5: initial support, 2023-09-01)

Reported-by: Roland Illig <[email protected]>

gcc/c-family/

        * c.opt: Clarify `-fdeps-*` documentation.
---
 gcc/c-family/c.opt | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/gcc/c-family/c.opt b/gcc/c-family/c.opt
index a4cb755b0b9..c7179411ed1 100644
--- a/gcc/c-family/c.opt
+++ b/gcc/c-family/c.opt
@@ -270,13 +270,13 @@ MT
 C ObjC C++ ObjC++ Joined Separate MissingArgError(missing makefile target 
after %qs)
 -MT <target>   Add a target that does not require quoting.
 
-fdeps-format=
+fdeps-format=p1689r5
 C ObjC C++ ObjC++ RejectNegative Joined MissingArgError(missing format after 
%qs)
-Structured format for output dependency information.  Supported (\"p1689r5\").
+Structured format for output dependency information.
 
 fdeps-file=
 C ObjC C++ ObjC++ RejectNegative Joined MissingArgError(missing output path 
after %qs)
-File for output dependency information.
+File to write dependency information to.
 
 fdeps-target=
 C ObjC C++ ObjC++ RejectNegative Joined MissingArgError(missing path after %qs)
-- 
2.52.0

Reply via email to