2009-04-06 Andrew Stubbs <ams@codesourcery.com>
* gcc.target/sh/sh4a-memmovua.c: Include string.h instead of stdlib.h.
2009-04-06 Andrew Stubbs <ams@codesourcery.com>
* gcc.target/sh/sh4a-bitmovua.c (y0): Rename to y_0 to avoid a clash
with the built-in y0, and the subsequent warning.
(y1): Likewise, rename to y_1.
From-SVN: r145587
+2009-04-06 Andrew Stubbs <ams@codesourcery.com>
+
+ * gcc.target/sh/sh4a-memmovua.c: Include string.h instead of stdlib.h.
+
+2009-04-06 Andrew Stubbs <ams@codesourcery.com>
+
+ * gcc.target/sh/sh4a-bitmovua.c (y0): Rename to y_0 to avoid a clash
+ with the built-in y0, and the subsequent warning.
+ (y1): Likewise, rename to y_1.
+
2009-04-06 Janus Weil <janus@gcc.gnu.org>
PR fortran/39414
}
/* Aligned. */
-struct u0 { unsigned long long d : 32; } y0;
+struct u0 { unsigned long long d : 32; } y_0;
unsigned long long g0() {
- return y0.d;
+ return y_0.d;
}
/* Unaligned load. */
-struct u1 { long long c : 8; unsigned long long d : 32; } y1;
+struct u1 { long long c : 8; unsigned long long d : 32; } y_1;
unsigned long long g1() {
- return y1.d;
+ return y_1.d;
}
/* Unaligned load. */
/* { dg-final { scan-assembler-times "\tmovua\\.l\t(.*)+" 2 } } */
#ifdef __SH4A__
-#include <stdlib.h>
+#include <string.h>
struct s { int i; char a[10], b[10]; } x;
int f() {