http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59968
H.J. Lu <hjl.tools at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |areg.melikadamyan at gmail dot
com
| |, kirill.yukhin at intel dot
com
--- Comment #2 from H.J. Lu <hjl.tools at gmail dot com> ---
For
int bar1;
void
__attribute__((noinline))
foo1 (int y)
{
bar1 |= 1 << y;
}
we generate:
movl $1, %eax
movl %edi, %ecx
sall %cl, %eax
orl %eax, bar1(%rip)
ret
I am expecting:
bts %edi, bar1(%rip)
ret