slsr-19.c: Make robust against operand order changes.

2014-10-20  Richard Biener  <rguenther@suse.de>

	* gcc.dg/tree-ssa/slsr-19.c: Make robust against operand order changes.
	* gcc.dg/tree-ssa/reassoc-20.c: Likewise.

From-SVN: r216465
This commit is contained in:
Richard Biener 2014-10-20 12:44:32 +00:00 committed by Richard Biener
parent a3e4cd810c
commit 8bc598fffb
3 changed files with 8 additions and 3 deletions

View File

@ -1,3 +1,8 @@
2014-10-20 Richard Biener <rguenther@suse.de>
* gcc.dg/tree-ssa/slsr-19.c: Make robust against operand order changes.
* gcc.dg/tree-ssa/reassoc-20.c: Likewise.
2014-10-20 Martin Liska <mliska@suse.cz>
* gcc.dg/ipa/pr63595.c: New test.

View File

@ -15,6 +15,6 @@ int main(void)
printf ("%d %d\n", e, f);
}
/* { dg-final { scan-tree-dump-times "b.._. \\\+ a.._." 1 "optimized" } } */
/* { dg-final { scan-tree-dump-times "\[ab\].._. \\\+ \[ab\].._." 1 "optimized" } } */
/* { dg-final { scan-tree-dump-times " \\\+ " 2 "optimized" } } */
/* { dg-final { cleanup-tree-dump "optimized" } } */

View File

@ -16,7 +16,7 @@ f (int c, int s)
return x1 + x2;
}
/* { dg-final { scan-tree-dump-times " \\* y" 1 "optimized" } } */
/* { dg-final { scan-tree-dump-times " \\* 2" 1 "optimized" } } */
/* { dg-final { scan-tree-dump-times " \\* " 2 "optimized" } } */
/* { dg-final { scan-tree-dump-times " \\* 2;" 1 "optimized" } } */
/* { dg-final { cleanup-tree-dump "optimized" } } */