[PATCH] Set -fprofile-update=atomic when -pthread is present

Andi Kleen andi@firstfloor.org
Tue Aug 9 19:04:00 GMT 2016


Martin Liška <mliska@suse.cz> writes:

> Hi.
>
> As mention in [1], enabling -fprofile-update=atomic when -pthread is logical
> thing and is quite expected default behavior.
>
> Ready for trunk?

It could potentially make things a lot slower. I don't think it's a good
idea to do this by default.

-Andi



More information about the Gcc-patches mailing list