From fa8a398ea90c5e990dfdec7218c09766e70216ba Mon Sep 17 00:00:00 2001
From: Aldy Hernandez <aldyh@redhat.com>
Date: Wed, 27 Jul 2011 19:51:04 +0000
Subject: [PATCH] re PR middle-end/49875 (FAIL: c-c++-common/cxxbitfields-4.c)

       PR middle-end/49875
        * c-c++-common/cxxbitfields-4.c: Check for smaller than long
        moves.
        * c-c++-common/cxxbitfields-5.c: Same.

From-SVN: r176848
---
 gcc/testsuite/ChangeLog                     | 7 +++++++
 gcc/testsuite/c-c++-common/cxxbitfields-4.c | 2 +-
 gcc/testsuite/c-c++-common/cxxbitfields-5.c | 2 +-
 3 files changed, 9 insertions(+), 2 deletions(-)

diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index dedc26458690..b4f95b5a9559 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,10 @@
+2011-07-27  Aldy Hernandez  <aldyh@redhat.com>
+
+	PR middle-end/49875
+	* c-c++-common/cxxbitfields-4.c: Check for smaller than long
+	moves.
+	* c-c++-common/cxxbitfields-5.c: Same.
+
 2011-07-27  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
 
 	* lib/target-supports.exp (check_effective_target_mmap): Use
diff --git a/gcc/testsuite/c-c++-common/cxxbitfields-4.c b/gcc/testsuite/c-c++-common/cxxbitfields-4.c
index a2d55f4a8c4f..7023b31654a7 100644
--- a/gcc/testsuite/c-c++-common/cxxbitfields-4.c
+++ b/gcc/testsuite/c-c++-common/cxxbitfields-4.c
@@ -15,4 +15,4 @@ void update_c(struct bits *p, int val)
     p -> c = val;
 }
 
-/* { dg-final { scan-assembler-not "movl" } } */
+/* { dg-final { scan-assembler "mov\[bw\]" } } */
diff --git a/gcc/testsuite/c-c++-common/cxxbitfields-5.c b/gcc/testsuite/c-c++-common/cxxbitfields-5.c
index 69e4e1067bf6..fba604fccc71 100644
--- a/gcc/testsuite/c-c++-common/cxxbitfields-5.c
+++ b/gcc/testsuite/c-c++-common/cxxbitfields-5.c
@@ -26,4 +26,4 @@ void foo()
   p -> c = 55;
 }
 
-/* { dg-final { scan-assembler-not "movl\t\\(" } } */
+/* { dg-final { scan-assembler "mov\[bw\]" } } */
-- 
GitLab