PR target/64461
* gcc.target/m68k/pr64461.c: New test.
From-SVN: r219488
+2015-01-12 Jeff Law <law@redhat.com>
+
+ PR target/64461
+ * gcc.target/m68k/pr64461.c: New test.
+
2015-01-12 David Malcolm <dmalcolm@redhat.com>
* jit.dg/test-array-as-pointer.c (create_code): Update call
--- /dev/null
+/* { dg-do assemble } */
+/* { dg-options "-mcpu=5235 -Os" } */
+
+typedef struct rtems_rfs_block_map_s
+{
+ long unsigned int blocks[(5)];
+} rtems_rfs_block_map;
+
+extern int foo (void);
+
+int
+rtems_rfs_block_map_indirect_alloc (rtems_rfs_block_map *map,
+ unsigned char* buffer, int b)
+{
+ (buffer + b * 4)[3] = (unsigned char) map->blocks[b];
+}