On 11/08/2011 05:25 PM, Richard Henderson wrote:
On 11/08/2011 02:08 PM, Patrick Marlier wrote:
- change the match for g to _ITM_RU[48]
Change the match to [248].
I have never seen a "long" type to have a size of 2 bytes but I am
probably wrong. (I did not find the C specification but I found on many
website that long should be at least 4 bytes (32 bits)).
Patrick.
(Please commit if ok)
* gcc.dg/tm/memopt-1.c: Adjust regexp.
Index: gcc/testsuite/gcc.dg/tm/memopt-1.c
===================================================================
--- gcc/testsuite/gcc.dg/tm/memopt-1.c (revision 181178)
+++ gcc/testsuite/gcc.dg/tm/memopt-1.c (working copy)
@@ -22,7 +22,7 @@
}
}
-/* { dg-final { scan-tree-dump-times "transforming: .*_ITM_RaWU8 \\(&g\\);" 1
"tmmemopt" } } */
+/* { dg-final { scan-tree-dump-times "transforming: .*_ITM_RaWU[248]
\\(&g\\);" 1 "tmmemopt" } } */
/* { dg-final { scan-tree-dump-times "transforming: .*_ITM_WaRU4 \\(&i," 1
"tmmemopt" } } */
/* { dg-final { scan-tree-dump-times "transforming: .*_ITM_RaWU4 \\(&i\\);" 1
"tmmemopt" } } */
/* { dg-final { scan-tree-dump-times "transforming: .*_ITM_WaWU4 \\(&i," 1
"tmmemopt" } } */