Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gcc.target/xtensa/pr94584.c @ 152:2b5abeee2509
update gcc11
author | anatofuz |
---|---|
date | Mon, 25 May 2020 07:50:57 +0900 |
parents | |
children |
line wrap: on
line source
/* { dg-do compile } */ /* { dg-options "-O2 -mserialize-volatile" } */ unsigned long load32 (volatile unsigned long *s) { return *s; } short load16s (volatile short *s) { return *s; } unsigned short load16u (volatile unsigned short *s) { return *s; } unsigned char load8 (volatile unsigned char *s) { return *s; } /* { dg-final { scan-assembler-times "memw" 4 } } */