On Tue, Dec 01, 2020 at 08:52:45PM +0100, Martin Liška wrote: > -/* { dg-final { scan-tree-dump "Condition chain with 3 BBs transformed into > a switch statement." "iftoswitch" } } */ > +/* { dg-final { scan-tree-dump "Condition chain with .* BBs transformed into > a switch statement." "iftoswitch" } } */
Would be better to use \[^\n\r]\* instead of .*, with .* you can match parts even from completely different parts of the dump file. Jakub