Commit 351f1600 by Jeff Law Committed by Jeff Law

re PR target/64461 (bad assembly generated for Coldfire targets)

       PR target/64461
        * gcc.target/m68k/pr64461.c: New test.

From-SVN: r219488
parent 1c35cc2c
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> 2015-01-12 David Malcolm <dmalcolm@redhat.com>
* jit.dg/test-array-as-pointer.c (create_code): Update call * jit.dg/test-array-as-pointer.c (create_code): Update call
......
/* { 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];
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment