https://gcc.gnu.org/g:89cb2cc91fb5cf2f808749eda72ea328b00adf6e
commit r16-6933-g89cb2cc91fb5cf2f808749eda72ea328b00adf6e Author: Giuseppe D'Angelo <[email protected]> Date: Tue Jan 20 14:58:33 2026 +0100 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: --- gcc/doc/invoke.texi | 1 + 1 file changed, 1 insertion(+) diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi index ba26986bd874..3671a49f03a7 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
