]> granicus.if.org Git - clang/commit
[ARM] The bits set in the variable HW_FP could get unset
authorRanjeet Singh <Ranjeet.Singh@arm.com>
Wed, 24 Jun 2015 23:39:25 +0000 (23:39 +0000)
committerRanjeet Singh <Ranjeet.Singh@arm.com>
Wed, 24 Jun 2015 23:39:25 +0000 (23:39 +0000)
commit56325ae29f728cabec6e25d72a3e12a102c73984
tree38fa161a51e9d8009649eb98c10f6346aac00ec3
parent24c5a3028b0a3081c597db392cf69825837aa4b6
[ARM] The bits set in the variable HW_FP could get unset
when iterating through the Features vector if we don't
keep track of what's already been set. This could lead to
the macro __ARM_FP getting the wrong value. This patch
fixes this issue by keeping track of the bits that have
already been set in the loop.

Differential Revision: http://reviews.llvm.org/D10395

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@240607 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Basic/Targets.cpp