fma_test: mute a warning about unreachable code on amd64 by restructuring
the #ifdef block to only handle the rest of the logic in the loop in the #else case. MFC after: 3 days Reported by: Coverity CID: 1346844 Sponsored by: Dell EMC Isilon
This commit is contained in:
parent
6399b5e03a
commit
2dd512c37f
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=319157
@ -498,11 +498,12 @@ main(void)
|
||||
printf("ok %d # SKIP testcase fails assertion on "
|
||||
"amd64\n", j);
|
||||
continue;
|
||||
#endif
|
||||
#else
|
||||
printf("rmode = %d\n", rmodes[i]);
|
||||
fesetround(rmodes[i]);
|
||||
test_infinities();
|
||||
printf("ok %d - fma infinities\n", j);
|
||||
#endif
|
||||
}
|
||||
|
||||
fesetround(FE_TONEAREST);
|
||||
|
Loading…
Reference in New Issue
Block a user