PR target/51931
* gcc.c-torture/compile/
20001226-1.c: Add nomips16 attribute.
* g++.dg/opt/longbranch1.C: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@183389
138bc75d-0d04-0410-961f-
82ee72b054a4
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.
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)
{
#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);