https://gcc.gnu.org/bugzilla/show_bug.cgi?id=124971
--- Comment #3 from Drea Pinski <pinskia at gcc dot gnu.org> --- (In reply to Jakub Jelinek from comment #2) > Tested > 2026-04-21 Jakub Jelinek <[email protected]> > > PR middle-end/124971 > * gensupport.cc (convert_syntax): Fix up // comment handling. Ok and I think this is obvious too. > > --- gcc/gensupport.cc.jj 2026-03-27 10:17:14.160330315 +0100 > +++ gcc/gensupport.cc 2026-04-21 19:40:34.305053658 +0200 > @@ -1016,7 +1016,7 @@ convert_syntax (rtx x, file_location loc > { > templ += 2; > /* Glob till newline or end of string. */ > - while (*templ != '\n' || *templ != '\0') > + while (*templ != '\n' && *templ != '\0') > templ++; > > /* Skip any newlines or whitespaces needed. */ > with a cross to aarch64-linux, all generated files are the same.
