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

--- Comment #4 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Jakub Jelinek <[email protected]>:

https://gcc.gnu.org/g:5efc59de33f0125fe02df9e03b15ad4307c1f53e

commit r16-8797-g5efc59de33f0125fe02df9e03b15ad4307c1f53e
Author: Jakub Jelinek <[email protected]>
Date:   Wed Apr 22 07:56:38 2026 +0200

    gensupport: Fix // comment handling [PR124971]

    The while (*templ != '\n' || *templ != '\0') ++templ; loop
    is due to a wrong logical operator an endless loop, so clearly
    we don't have any // comments in the new syntax *.md files that
    are using it in the relevant parts of the patterns.

    Fixed by using && instead.

    2026-04-22  Jakub Jelinek  <[email protected]>

            PR middle-end/124971
            * gensupport.cc (convert_syntax): Fix up // comment handling.

    Reviewed-by: Andrew Pinski <[email protected]>

Reply via email to