Commit 2e63c69f by Jakub Jelinek Committed by Jakub Jelinek

re PR testsuite/55188 (FAIL: gcc.dg/pr19105.c scan-tree-dump-times reassoc1…

re PR testsuite/55188 (FAIL: gcc.dg/pr19105.c scan-tree-dump-times reassoc1 "Optimizing range tests v_[0-9]*.D. -.2, 2. and -.3, 4.[\n\r]* into" 1)

	PR testsuite/55188
	* gcc.dg/pr19105.c: Accept also optimizing
	-[2, 2] and -[3, 3] and -[4, 4] range tests together.

From-SVN: r193590
parent 7e8d1b2d
2012-11-17 Jakub Jelinek <jakub@redhat.com> 2012-11-17 Jakub Jelinek <jakub@redhat.com>
PR testsuite/55188
* gcc.dg/pr19105.c: Accept also optimizing
-[2, 2] and -[3, 3] and -[4, 4] range tests together.
* lib/asan-dg.exp (asan_symbolize): Prune BFD: prefixed error messages * lib/asan-dg.exp (asan_symbolize): Prune BFD: prefixed error messages
from addr2line_output. Increment idx if asking for more than one address from addr2line_output. Increment idx if asking for more than one address
in one object. in one object.
......
...@@ -17,6 +17,6 @@ int range2 (enum e v, int x) ...@@ -17,6 +17,6 @@ int range2 (enum e v, int x)
return x && (v != c && v != d && v != e); return x && (v != c && v != d && v != e);
} }
/* { dg-final { scan-tree-dump-times "Optimizing range tests v_\[0-9\]*.D. -.2, 2. and -.3, 4.\[\n\r\]* into" 1 "reassoc1" } } */ /* { dg-final { scan-tree-dump-times "Optimizing range tests v_\[0-9\]*.D. -.2, 2. and -.3, 4.\[\n\r\]* into|Optimizing range tests v_\[0-9\]*.D. -.2, 2. and -.3, 3. and -.4, 4.\[\n\r\]* into" 1 "reassoc1" } } */
/* { dg-final { cleanup-tree-dump "reassoc1" } } */ /* { dg-final { cleanup-tree-dump "reassoc1" } } */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment