From 3e93035fcc9247928b58443e37fbf844278b7ac7 Mon Sep 17 00:00:00 2001
From: Jeff Law <jlaw@ventanamicro.com>
Date: Tue, 18 Feb 2025 19:45:29 -0700
Subject: [PATCH] [PR middle-end/113525] Drop obsolete options from
 documentation

The sibling and unshare passes were dropped as distinct passes 10+ years ago.
Docs weren't ever updated.  This just removes them; given their age I don't
think we need to keep them around any longer.

	PR middle-end/113525

gcc/
	* doc/invoke.texi (dump-rtl-sibling): Drop documentation for pass
	removed long ago.
	(dump-rtl-unshare): Likewise.
---
 gcc/doc/invoke.texi | 8 --------
 1 file changed, 8 deletions(-)

diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi
index d0e0ca80b0c2..0c7adc039b5d 100644
--- a/gcc/doc/invoke.texi
+++ b/gcc/doc/invoke.texi
@@ -20383,10 +20383,6 @@ Dump after common sequence discovery.
 @item -fdump-rtl-shorten
 Dump after shortening branches.
 
-@opindex fdump-rtl-sibling
-@item -fdump-rtl-sibling
-Dump after sibling call optimizations.
-
 @opindex fdump-rtl-split1
 @opindex fdump-rtl-split2
 @opindex fdump-rtl-split3
@@ -20417,10 +20413,6 @@ x87's stack-like registers.  This pass is only run on x86 variants.
 @option{-fdump-rtl-subreg1} and @option{-fdump-rtl-subreg2} enable dumping after
 the two subreg expansion passes.
 
-@opindex fdump-rtl-unshare
-@item -fdump-rtl-unshare
-Dump after all rtl has been unshared.
-
 @opindex fdump-rtl-vartrack
 @item -fdump-rtl-vartrack
 Dump after variable tracking.
-- 
GitLab