https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54089
--- Comment #88 from Segher Boessenkool <segher at gcc dot gnu.org> --- (In reply to Oleg Endo from comment #85) > > +/* { dg-final { scan-assembler > > "_f_loop1_rshift:.*mov\.l\\t(\.L\[0-9\]+),(r\[0-9\]+).*sts.l\\tpr,@-r15.*(\.L\[0-9\]+):.*jsr\\t@\\2.*bf\.s\\t\\3.*\\1:\\n\\t\.long\\t___ashiftrt_r4_6.*_f_loop2_rshift:" > > { target { ! has_dyn_shift } } } } */ > > Can you try to somehow write this in a simpler way? Maybe omit some of the > register number matches, as they don't matter etc. Do not use double-quoted strings unless you need interpolation? If you use {} around the string you do not need to backslash-quote (and double-quote) so much at all. [0-9] is \d whitespace is \s See the Tcl re_syntax manual page :-)