https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78732

David Malcolm <dmalcolm at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |ASSIGNED
   Last reconfirmed|                            |2017-03-24
                 CC|                            |dmalcolm at gcc dot gnu.org
           Assignee|unassigned at gcc dot gnu.org      |dmalcolm at gcc dot 
gnu.org
     Ever confirmed|0                           |1

--- Comment #1 from David Malcolm <dmalcolm at gcc dot gnu.org> ---
Correct: warn_endif_labels is used by:
  libcpp/directives.c: do_else
  libcpp/directives.c: do_endif
which they use it to guard calls to check_eol_endif_labels.

It's not used by do_elif.

doc/cppwarnopts.texi gets this right:

> Do not warn whenever an @code{#else} or an @code{#endif} are followed by text.
> This sometimes happens in older programs with code of the form

Reply via email to