[gcc r17-2366] Fix compilation issue introduced in r17-2365-gc5627f93a82591 [PR124058]

Torbjorn Svensson via Gcc-cvs <[email protected]>
Newsgroups gmane.comp.gcc.cvs
Message-ID <[email protected]>
https://gcc.gnu.org/g:cfc5aa4ed975c4aa2858af1579dbb842ee78f9df

commit r17-2366-gcfc5aa4ed975c4aa2858af1579dbb842ee78f9df
Author: Torbjörn SVENSSON <[email protected]>
Date:   Mon Jul 13 21:43:50 2026 +0200

    Fix compilation issue introduced in r17-2365-gc5627f93a82591 [PR124058]
    
    gcc/ChangeLog:
    
            PR driver/124058
            * gcc-diagnostic-spec.cc (nowarn_spec_t::nowarn_spec_t):
            Remove leftover reference to OPT_Wuse_after_free.
    
    Signed-off-by: Torbjörn SVENSSON <[email protected]>

Diff:
---
 gcc/gcc-diagnostic-spec.cc | 1 -
 1 file changed, 1 deletion(-)

diff --git a/gcc/gcc-diagnostic-spec.cc b/gcc/gcc-diagnostic-spec.cc
index 94bbd9e5753f..8aa876a6e4f1 100644
--- a/gcc/gcc-diagnostic-spec.cc
+++ b/gcc/gcc-diagnostic-spec.cc
@@ -99,7 +99,6 @@ nowarn_spec_t::nowarn_spec_t (opt_code opt)
 
     case OPT_Wdangling_pointer_:
     case OPT_Wreturn_local_addr:
-    case OPT_Wuse_after_free:
     case OPT_Wuse_after_free_:
       m_bits = NW_DANGLING;
       break;
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.