This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug middle-end/64974] [SH] Weird expansion of 'expected' operand in atomic_compare_and_swap<mode>


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64974

--- Comment #2 from Oleg Endo <olegendo at gcc dot gnu.org> ---
The problem got slightly worse with r220594.  The dead store to the stack frame
is not eliminated anymore.  Before the memory operands' addresses were loaded
into a reg using 'force_reg', which AFAIK dropped the memory aliasing info. 
Now that 'force_reg' is not used anymore, the dead stores remain.

I don't quite understand how those things are related.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]