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

--- Comment #2 from Jan Hubicka <hubicka at ucw dot cz> ---
Seems we changed default to locking increments.

jh@ryzen4:/tmp> cat t.C
void
test()
{
}
jh@ryzen4:/tmp> ~/trunk-install/bin/g++ -O2 -fprofile-generate t.C -S ; grep
lock t.s
        lock addl       $1, __gcov0._Z4testv(%rip)
        lock addl       %eax, __gcov0._Z4testv+4(%rip)
jh@ryzen4:/tmp> g++ -O2 -fprofile-generate t.C -S ; grep lock t.s
jh@ryzen4:/tmp> 

so r:20a3c74c347429c109bc7002285b735be83f6a0b

Honza

Reply via email to