diff options
author | Richard Sandiford <rdsandiford@googlemail.com> | 2010-07-18 12:20:16 +0000 |
---|---|---|
committer | Richard Sandiford <rsandifo@gcc.gnu.org> | 2010-07-18 12:20:16 +0000 |
commit | 18fcbc9a69973ca7aa173e2d8f8df95224a90c6c (patch) | |
tree | 7b58d0162ac1636b2437d3ccb926eebf71be0325 | |
parent | 769e6b9f84edf664f24fd09bcfb48d0403312775 (diff) | |
download | gcc-18fcbc9a69973ca7aa173e2d8f8df95224a90c6c.zip gcc-18fcbc9a69973ca7aa173e2d8f8df95224a90c6c.tar.gz gcc-18fcbc9a69973ca7aa173e2d8f8df95224a90c6c.tar.bz2 |
cache-1.c: Allow 0 instead of 0x0.
gcc/testsuite/
* gcc.target/mips/cache-1.c: Allow 0 instead of 0x0.
From-SVN: r162285
-rw-r--r-- | gcc/testsuite/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/testsuite/gcc.target/mips/cache-1.c | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 0431161..aaaed84 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,5 +1,9 @@ 2010-07-18 Richard Sandiford <rdsandiford@googlemail.com> + * gcc.target/mips/cache-1.c: Allow 0 instead of 0x0. + +2010-07-18 Richard Sandiford <rdsandiford@googlemail.com> + * gcc.target/mips/mips.exp (mips_option_groups): Add -mflip-mips16 to the "mips16" group. (mips_using_mips16_p): New procedure. diff --git a/gcc/testsuite/gcc.target/mips/cache-1.c b/gcc/testsuite/gcc.target/mips/cache-1.c index 05cb407..da89706 100644 --- a/gcc/testsuite/gcc.target/mips/cache-1.c +++ b/gcc/testsuite/gcc.target/mips/cache-1.c @@ -26,5 +26,5 @@ f4 (const volatile unsigned char *area) /* { dg-final { scan-assembler "\tcache\t0x14,0\\(\\\$4\\)" } } */ /* { dg-final { scan-assembler "\tcache\t0x18,20\\(\\\$4\\)" } } */ -/* { dg-final { scan-assembler "\tcache\t0x0,0\\(\\\$.\\)" } } */ +/* { dg-final { scan-assembler "\tcache\t(0x|)0,0\\(\\\$.\\)" } } */ /* { dg-final { scan-assembler "\tcache\t0x4,-80\\(\\\$4\\)" } } */ |