Invalid store semantics

2013-09-30 Thread Umesh Kalappa
Dear All, I'm looking up the below problem in our private backend. During the RTL expansion the below rtl has been emitted.. (insn 6 5 7 (set (reg:SI 23) (const_int 10 [0xa])) algt_001.c:41 -1 (nil)) (insn 7 6 8 (set (reg:SI 24) (unspec:SI [ (mem/c/i:SI (symbol_ref:SI ("lsucCnt2.1746") [flags 0

Re: Invalid store semantics

2013-09-30 Thread Ian Lance Taylor
On Mon, Sep 30, 2013 at 7:46 AM, Umesh Kalappa wrote: > > With the optimisation (-O3) enabled ,the above rtl has been transformed to > > (insn 7 6 8 2 (set (reg:SI 24) > (unspec:SI [ > (mem/c/i:SI (symbol_ref:SI ("lsucCnt2.1746") [flags 0x2] ) [2 > lsucCnt2+0 S4 A16]) > ] 1)) algt_001.c:41 59 {tx0