http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59857
--- Comment #3 from Jacky Ko ---
You are right. ulv is volatile, the typedef in the code is
typedef unsigned int volatile ulv;
I'm sorry that I didn't provide the definition.
I modify the C code as below,
int TEST_Memread(unsigned int * pSrc,
Component: rtl-optimization
Assignee: unassigned at gcc dot gnu.org
Reporter: xuelingko at yahoo dot com.tw
I compile a simple source code, memread.c, by gcc 4.8.2 and 4.5.1
The C code is:
int TEST_Memread(ulv * pSrc, unsigned int nCount)
{
unsigned int val;
ulv *p1