https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105325
Peter Bergner <bergner at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
URL| |https://gcc.gnu.org/piperma
| |il/gcc-patches/2023-April/6
| |16805.html
--- Comment #16 from Peter Bergner <bergner at gcc dot gnu.org> ---
Another test case from Nick's dup bugzilla (PR108239):
--- test.c ---
// powerpc64le-linux-gnu-gcc -O2 -mcpu=power10 -mno-pcrel -c test.c
#include <stdint.h>
static inline uint32_t readl(uint32_t *addr)
{
uint32_t ret;
__asm__ __volatile__("lwz %0,%1" : "=r" (ret) : "m" (*addr));
return ret;
}
int test(void *addr)
{
return readl(addr + 0x8024);
}