Add -fprofile-update option juggling
commit504acdf1926f82bdcccbb8b0905e8d25968df438
authormarxin <marxin@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 6 Oct 2016 07:34:23 +0000 (6 07:34 +0000)
committermarxin <marxin@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 6 Oct 2016 07:34:23 +0000 (6 07:34 +0000)
tree97ad3a491bd8418695043888a1687cb0b05df20b
parent7b645785b214871662a284daacc2410af692e7b4
Add -fprofile-update option juggling

* gcc.c: Set -fprofile-update=atomic when profiling is
enabled and -pthread is set.  Warn when one combines
-pthread and -fprofile-update=single for an app using
profiling code.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@240828 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/gcc.c