On Tue, Apr 27, 2021 at 10:32:44AM -0500, Bill Schmidt via Gcc-patches wrote: > static int > match_const_restriction (typeinfo *typedata) > { > + int oldpos = pos; > + if (linebuf[pos] == '<')
> + else if (linebuf[pos] == '{') > + assert (linebuf[pos] == '['); Can you factor this please? The three cases do exactly the same? And if not, it would be much clearer if you make the difference explicit. Pass the two '<', '>' as arguments, and you can use that to differentiate then, even. Okay for trunk either way. Thanks! Segher