diff options
author | Richard Sandiford <rdsandiford@googlemail.com> | 2012-01-22 10:33:07 +0000 |
---|---|---|
committer | Richard Sandiford <rsandifo@gcc.gnu.org> | 2012-01-22 10:33:07 +0000 |
commit | 643e447b3ec25d706e0334290b4f497a6f963eb0 (patch) | |
tree | 15a1302c26781235f53e3513c4b29916c9e206ef /gcc | |
parent | 14f85436a366bf80f7ffae077e141552f25761a0 (diff) | |
download | gcc-643e447b3ec25d706e0334290b4f497a6f963eb0.zip gcc-643e447b3ec25d706e0334290b4f497a6f963eb0.tar.gz gcc-643e447b3ec25d706e0334290b4f497a6f963eb0.tar.bz2 |
re PR target/51931 (No support for MIPS16 long branches)
gcc/testsuite/
PR target/51931
* gcc.c-torture/compile/20001226-1.c: Add nomips16 attribute.
* g++.dg/opt/longbranch1.C: Likewise.
From-SVN: r183389
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/testsuite/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/testsuite/g++.dg/opt/longbranch1.C | 4 | ||||
-rw-r--r-- | gcc/testsuite/gcc.c-torture/compile/20001226-1.c | 4 |
3 files changed, 14 insertions, 0 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 86986af..f0b4a79 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,5 +1,11 @@ 2012-01-22 Richard Sandiford <rdsandiford@googlemail.com> + PR target/51931 + * gcc.c-torture/compile/20001226-1.c: Add nomips16 attribute. + * g++.dg/opt/longbranch1.C: Likewise. + +2012-01-22 Richard Sandiford <rdsandiford@googlemail.com> + * g++.old-deja/g++.pt/ptrmem6.C: xfail a test for ARM and MIPS in C++11 mode. diff --git a/gcc/testsuite/g++.dg/opt/longbranch1.C b/gcc/testsuite/g++.dg/opt/longbranch1.C index a64a57a..df54501 100644 --- a/gcc/testsuite/g++.dg/opt/longbranch1.C +++ b/gcc/testsuite/g++.dg/opt/longbranch1.C @@ -26,6 +26,10 @@ muchcode; muchcode; muchcode; muchcode; muchcode; muchcode; \ muchcode; muchcode; muchcode; muchcode; muchcode; muchcode +#ifdef __mips +/* See PR 51931. */ +__attribute__((nomips16)) +#endif int main (int argc, char **argv) { diff --git a/gcc/testsuite/gcc.c-torture/compile/20001226-1.c b/gcc/testsuite/gcc.c-torture/compile/20001226-1.c index 127c4da..e833fb0 100644 --- a/gcc/testsuite/gcc.c-torture/compile/20001226-1.c +++ b/gcc/testsuite/gcc.c-torture/compile/20001226-1.c @@ -21,6 +21,10 @@ #define C1024(x,y) C256(x,y) C256(x+16,y) C256(x+32,y) C256(x+48,y) #define C4096(x,y) C1024(x,y) C1024(x,y+16) C1024(x,y+32) C1024(x,y+48) +#ifdef __mips +/* See PR 51931. */ +__attribute__((nomips16)) +#endif unsigned foo(int x[64], int y[64]) { C4096(x,y); |