On 10/11/18 8:20 AM, David Malcolm wrote: > Mismatched dg-{begin|end}-multiline-output directives are currently > silently ignored, leading to difficult-to-diagnose test failures > involving excess output. > > This patch makes multiline.exp complain about them. > > Successfully regrtested on x86_64-pc-linux-gnu > > OK for trunk? > > gcc/testsuite/ChangeLog: > * lib/multiline.exp (dg-begin-multiline-output): Issue an error if > there hasn't been a dg-end-multiline-output since the last > dg-begin-multiline-output. > (dg-end-multiline-output): Issue an error if there hasn't been a > dg-begin-multiline-output. Reset _multiline_last_beginning_line > as soon possible. Rename "line" to "last_line". OK. Assuming since there's no patches to existing tests that at least for the x86-64 target we don't have any mismatched dg-blah things in the tree right now.
jeff