PR sanitizer/78158
commit2eaf983db87d87d9522423af9a1d18a8fb2fc091
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 21 Mar 2017 08:22:57 +0000 (21 08:22 +0000)
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 21 Mar 2017 08:22:57 +0000 (21 08:22 +0000)
tree8889793db5e33901cecca403528c78c5981029d3
parentb14a6edbfd4e883a96c1302c643742678d7fab09
PR sanitizer/78158
* tsan.c (instrument_builtin_call): If the memory model argument
is not a constant, assume it is valid.

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