From: Giuseppe D'Angelo Date: Tue, 20 Jan 2026 13:58:33 +0000 (+0100) Subject: doc: fix documentation of -Wsfinae-incomplete [PR123639] X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=89cb2cc91fb5cf2f808749eda72ea328b00adf6e;p=thirdparty%2Fgcc.git doc: fix documentation of -Wsfinae-incomplete [PR123639] An @item directive was missing, making the documentation appear incorrectly as part of -Wno-exceptions. PR c++/123639 gcc/ChangeLog: * doc/invoke.texi: Add @item for -Wsfinae-incomplete. --- diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi index ba26986bd87..3671a49f03a 100644 --- a/gcc/doc/invoke.texi +++ b/gcc/doc/invoke.texi @@ -4563,6 +4563,7 @@ another handler, which can point out a wrong ordering of exception handlers. @opindex Wsfinae-incomplete @opindex Wno-sfinae-incomplete +@item -Wsfinae-incomplete @r{(C++ and Objective-C++ only)} Warn about a class that is found to be incomplete, or a function with auto return type that has not yet been deduced, in a context where that causes substitution failure rather than an error, and then the