]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
fold-mod-1.c: Match the leading 0x for the hexadecimal value.
authorAdam Nemet <anemet@caviumnetworks.com>
Wed, 1 Nov 2006 19:22:02 +0000 (19:22 +0000)
committerAdam Nemet <nemet@gcc.gnu.org>
Wed, 1 Nov 2006 19:22:02 +0000 (19:22 +0000)
* gcc.dg/fold-mod-1.c: Match the leading 0x for the
hexadecimal value.
* gcc.dg/tree-prof/val-prof-2.c: Likewise.
* gcc.dg/pr14796-2.c: Likewise.

From-SVN: r118394

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/fold-mod-1.c
gcc/testsuite/gcc.dg/pr14796-2.c
gcc/testsuite/gcc.dg/tree-prof/val-prof-2.c

index dece2c3eb65c039db7e160716be54fadb1d7bc3f..39225777248a626646871472ee910b8912eec6b9 100644 (file)
@@ -1,3 +1,10 @@
+2006-11-01  Adam Nemet  <anemet@caviumnetworks.com>
+
+       * gcc.dg/fold-mod-1.c: Match the leading 0x for the
+       hexadecimal value.
+       * gcc.dg/tree-prof/val-prof-2.c: Likewise.
+       * gcc.dg/pr14796-2.c: Likewise.
+
 2006-11-01  Eric Botcazou  <ebotcazou@libertysurf.fr>
 
        * gcc.c-torture/execute/20061101-1.c: New test.
index 3f7696f17600a87895b3355fc11d6a8bc357c75d..a8e2a5802ddcdb1c28f4fa75d4ef2505c9b2cc7a 100644 (file)
@@ -21,6 +21,6 @@ unsigned int k (unsigned int d) {
        return d % 8;
 }
 
-/* { dg-final { scan-tree-dump "a % (4294967288|0fffffff8)" "gimple" } } */
+/* { dg-final { scan-tree-dump "a % (4294967288|0x0fffffff8)" "gimple" } } */
 /* { dg-final { scan-tree-dump-times " & 7" 3 "gimple" } } */
 /* { dg-final { cleanup-tree-dump "gimple" } } */
index 2de5411a4907a3af06ebf70082d3b69da9633189..c0a91dc955bfc9483fb959fc84e9b71dda3aff77 100644 (file)
@@ -19,5 +19,5 @@ long long j (long long c) {
 }
 /* { dg-final { scan-tree-dump-times "= 0" 2 "gimple" } } */
 /* { dg-final { scan-tree-dump "b >> 31" "gimple" } } */
-/* { dg-final { scan-tree-dump "c & -(34359738368|800000000)" "gimple" } } */
+/* { dg-final { scan-tree-dump "c & -(34359738368|0x800000000)" "gimple" } } */
 /* { dg-final { cleanup-tree-dump "gimple" } } */
index 7cefcfc7d8157805ed0c8a8a5dea4f2227d7c2d8..66b0614c5efb489958084a60bb737ab91d1688bb 100644 (file)
@@ -26,7 +26,7 @@ main ()
 /* { dg-final-use { scan-tree-dump "Mod power of 2 transformation on insn" "tree_profile"} } */
 /* This is part of code checking that n is power of 2, so we are sure that the transformation
    didn't get optimized out.  */
-/* { dg-final-use { scan-tree-dump "n \\+ ffff" "optimized"} } */
+/* { dg-final-use { scan-tree-dump "n \\+ 0xffff" "optimized"} } */
 /* { dg-final-use { scan-tree-dump-not "Invalid sum" "optimized"} } */
 /* { dg-final-use { cleanup-tree-dump "optimized" } } */
 /* { dg-final-use { cleanup-tree-dump "tree_profile" } } */