octeon-exts-7.c (bar): Make sure the extraction of b requires a 64-bit operation...
authorRichard Sandiford <rdsandiford@googlemail.com>
Sat, 3 Nov 2012 09:48:36 +0000 (09:48 +0000)
committerRichard Sandiford <rsandifo@gcc.gnu.org>
Sat, 3 Nov 2012 09:48:36 +0000 (09:48 +0000)
gcc/testsuite/
* gcc.target/mips/octeon-exts-7.c (bar): Make sure the extraction of
b requires a 64-bit operation followed by a truncation.

From-SVN: r193118

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/mips/octeon-exts-7.c

index d75f009d994ba87741707e1ea0371c04767613a2..872282654700a00039f790954f875545589958d3 100644 (file)
@@ -1,3 +1,8 @@
+2012-11-03  Richard Sandiford  <rdsandiford@googlemail.com>
+
+       * gcc.target/mips/octeon-exts-7.c (bar): Make sure the extraction of
+       b requires a 64-bit operation followed by a truncation.
+
 2012-11-02  Jan Hubicka  <jh@suse.cz>
 
        * gcc.dg/tree-ssa/loop-38.c: Correct testcase.
index 0d0d08eacdc6845aa4bc1849fec97de55c57c46d..fcae0126150526ef2d664e4c98bc6c582a6f50e8 100644 (file)
@@ -8,7 +8,8 @@
 struct bar
 {
   long long a:18;
-  long long b:14;
+  long long b:24;
+  long long c:22;
 };
 
 NOMIPS16 int