aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Sandiford <rdsandiford@googlemail.com>2012-11-03 09:48:36 +0000
committerRichard Sandiford <rsandifo@gcc.gnu.org>2012-11-03 09:48:36 +0000
commit49503de9a9ccdfab8247742065896d59f48a9022 (patch)
tree19d3073bb30a2a9760314fb1eaf1b4ce07ec3a96
parentcf648142d571f77f8b3c1a61f27e6ee66f0ea184 (diff)
downloadgcc-49503de9a9ccdfab8247742065896d59f48a9022.zip
gcc-49503de9a9ccdfab8247742065896d59f48a9022.tar.gz
gcc-49503de9a9ccdfab8247742065896d59f48a9022.tar.bz2
octeon-exts-7.c (bar): Make sure the extraction of b requires a 64-bit operation followed by a truncation.
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
-rw-r--r--gcc/testsuite/ChangeLog5
-rw-r--r--gcc/testsuite/gcc.target/mips/octeon-exts-7.c3
2 files changed, 7 insertions, 1 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index d75f009..8722826 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -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.
diff --git a/gcc/testsuite/gcc.target/mips/octeon-exts-7.c b/gcc/testsuite/gcc.target/mips/octeon-exts-7.c
index 0d0d08e..fcae012 100644
--- a/gcc/testsuite/gcc.target/mips/octeon-exts-7.c
+++ b/gcc/testsuite/gcc.target/mips/octeon-exts-7.c
@@ -8,7 +8,8 @@
struct bar
{
long long a:18;
- long long b:14;
+ long long b:24;
+ long long c:22;
};
NOMIPS16 int