forked from md-raid-utilities/mdadm
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Coverity still has issues with gcc-7, not to mention gcc-8. Hack around it, until they fix it. Signed-off-by: Jes Sorensen <[email protected]>
- Loading branch information
Jes Sorensen
committed
Jun 4, 2018
1 parent
7d4815f
commit 2815666
Showing
2 changed files
with
21 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
#if !defined(__KERNEL__) && defined(__x86_64__) && defined(__COVERITY_GCC_VERSION_AT_LEAST) | ||
#if __COVERITY_GCC_VERSION_AT_LEAST(7, 0) | ||
typedef float _Float128 __attribute__((__vector_size__(128))); | ||
typedef float _Float64 __attribute__((__vector_size__(64))); | ||
typedef float _Float32 __attribute__((__vector_size__(32))); | ||
typedef float _Float128x __attribute__((__vector_size__(128))); | ||
typedef float _Float64x __attribute__((__vector_size__(64))); | ||
typedef float _Float32x __attribute__((__vector_size__(32))); | ||
#endif | ||
#endif |