Commit Graph

668 Commits

Author SHA1 Message Date
Jeffrey Walton
a9082aeee0 Cleared -Wreorder from GCC 4.8 on MinGW 2015-07-19 22:34:20 -04:00
Jeffrey Walton
4b4156e6ba Fixed compile for MinGW 2015-07-19 22:09:35 -04:00
Jeffrey Walton
94db43de97 Cleared -Wunknown-pragmas under GCC 5.1/Cygwin on Windows 2015-07-19 15:09:04 -04:00
Jeffrey Walton
c4a5d802e7 Enabled -Wall for GCC 4.7 and above, and Clang 2015-07-19 15:04:57 -04:00
Jeffrey Walton
88f94ed358 Cleared behavior that relied upon undefined behavior 2015-07-19 14:35:30 -04:00
Jeffrey Walton
a56f07709e g_hasISSE -> h_hasSSE. That's how old this function is... 2015-07-19 13:39:57 -04:00
Jeffrey Walton
11eb9957d4 HasISSE -> HasSSE. That's how old this function is... 2015-07-19 13:33:41 -04:00
Jeffrey Walton
ea9081ebc4 Cleared -Wunneeded-internal-declaration from GCC 5.1 2015-07-19 12:30:16 -04:00
Jeffrey Walton
786b3f1660 Cleared warning "GCC diagnostic kind" unknown. It appears to be a Clang warning 2015-07-19 12:16:19 -04:00
Jeffrey Walton
e522574ddd Attempting to clear unknown pragma warning under GCC 5.1. This might be a compiler bug... 2015-07-19 12:12:50 -04:00
Jeffrey Walton
c33a567654 Updated comment with TODO to make it easy to locate in the future via grep/find 2015-07-19 12:04:23 -04:00
Jeffrey Walton
7c0c1f57d5 Cleared -Wparentheses from GCC 5.1 2015-07-19 12:00:17 -04:00
Jeffrey Walton
ef5a8f883c Cleared -Wparentheses from GCC 5.1 2015-07-19 11:27:11 -04:00
Jeffrey Walton
d04b813e8b Cleared -Wmaybe-uninitialized under GCC 5.1 2015-07-19 11:05:48 -04:00
Jeffrey Walton
e874cd2ef8 Fixed spelling error in header comments 2015-07-19 10:57:12 -04:00
Jeffrey Walton
90b5dc9e61 Cleared remaining virtual destructor warnings under GCC with -Wall 2015-07-19 10:24:10 -04:00
Jeffrey Walton
8f59d9af35 Cleared unused variable and function warnings 2015-07-19 10:22:16 -04:00
Jeffrey Walton
41be55ca17 Fixed copy/paste error 2015-07-19 09:43:10 -04:00
Jeffrey Walton
ee71d0041f Cleared virtual destructor warnings under GCC with -Wall 2015-07-19 09:41:46 -04:00
Jeffrey Walton
c8fb6567da Cleared virtual destructor warnings under GCC with -Wall 2015-07-19 09:29:02 -04:00
Jeffrey Walton
5bd61dcc92 Added inline assembly for left and right rotate under GCC on x86/x86_64 2015-07-19 08:31:58 -04:00
Jeffrey Walton
d19790bbca Cleared UBsan errors 2015-07-19 07:58:55 -04:00
Jeffrey Walton
b54e637896 Whitespace checkin 2015-07-19 07:21:42 -04:00
Jeffrey Walton
1026b51922 Changed TestOS_RNG to use a MeterFilter rather than an ArraySink with a NULL array. The NULL array meant ArraySink::Put2 returned early, and it did *not* update m_total. Even if Put2 did not exit early, it still could not update m_total because the bytes were *not* processed. This change was required in preparation for clearing UBsan errors in filters.cpp 2015-07-19 07:15:06 -04:00
Jeffrey Walton
8c259ee6b4 Added recipe to create dependencies. The dependencies are only generated if multiarch is not in effect. MULTIARCH_SUPPORT was also changed to an overrideable makefile variable 2015-07-18 23:41:41 -04:00
Jeffrey Walton
bf9df8f970 Added additional crypto++ artifcats used during testing. Added *.o because Fedora 22 does not exclude them by default 2015-07-18 22:16:47 -04:00
Jeffrey Walton
e4ab1cd70c Cleared UBsan error on non-null pointer use 2015-07-17 22:53:36 -04:00
Jeffrey Walton
8cef820ac8 Cleared UBsan error based on undefined shift. Tightened behaviors based on offline conversation with Wei and Denis. One shift error remains due to use of rotVariable by Cast. The UB will be cleared shortly, when specializations using GCC assembler is checked in 2015-07-17 22:21:01 -04:00
Jeffrey Walton
cac038a855 Cleared UBsan error using non-null pointer 2015-07-17 21:50:47 -04:00
Jeffrey Walton
20962b51a0 Changed guard on memcpy use to make it less intrusive. More closely resembles original code 2015-07-17 21:44:53 -04:00
Jeffrey Walton
434c56fcd2 Cleared UBsan error using non-null pointer 2015-07-17 21:36:13 -04:00
Jeffrey Walton
5f299d76a0 Cleared UBsan error on non-null pointers being used with memcpy and memmove from library functions memcpy_s and memmove_s 2015-07-17 21:09:42 -04:00
Jeffrey Walton
134ba3e16b Added -fsanitize-undefined-trap-on-error to help with a call stack on violations. Disabled by default 2015-07-17 11:02:37 -04:00
Jeffrey Walton
0578334f7a Cleared warning under Visual Studio 2015-07-17 10:40:22 -04:00
Jeffrey Walton
3faaf986a4 Cleared warning under Visual Studio 2015-07-17 10:39:45 -04:00
Jeffrey Walton
ca6a93bbc5 Cleared virtual destructor warning by explicitly adding them 2015-07-17 10:38:44 -04:00
Jeffrey Walton
b435ce07c8 Cleared Visual Studio warning on type mismatch in std::bind 2015-07-17 10:37:30 -04:00
Jeffrey Walton
398bda4051 Removed cross-pollination during testing 2015-07-17 10:05:56 -04:00
Jeffrey Walton
172cce3974 Added source code documentation on the rotFixed, rotVariable and rotMod functions 2015-07-17 07:40:16 -04:00
Jeffrey Walton
e7eee759bb Cleared UBsan errors under GCC 5.1. Cleared signed/unsigned warnings under Visual Studio 2015-07-17 07:16:01 -04:00
Jeffrey Walton
427e1cf028 Cleared UBsan warnings under GCC 5.1 2015-07-17 07:13:23 -04:00
Jeffrey Walton
3a08e02f71 Cleared Issue #5. Thanks to Jonathan Wakely for the patch 2015-07-16 17:11:01 -04:00
Jeffrey Walton
06ea2d2952 Cleared Cygwin i386 crash at -O3 due to unaligned data access and vectorization 2015-07-16 00:50:13 -04:00
Jeffrey Walton
04429b291d Added targets for UBsan and Asan 2015-07-16 00:47:09 -04:00
Jeffrey Walton
c3c9f2f114 Cleared Issue #6. Thanks to Jonathan Wakely for reporting 2015-07-16 00:43:38 -04:00
Jeffrey Walton
00cc470f04 Folded OPTIMIZE and SYMBOLS back into CXXFLAGS (we can use 'subst' to modify CXXFLAGS). Moved Cygwin work arounds into block guarded by IS_X86 (Cygwin only runs on Windows) 2015-07-15 19:03:49 -04:00
Jeffrey Walton
857d7c84d1 Cleared UBsan error of "load of value 127, which is not a valid value for type 'bool'" by initializing negateNext 2015-07-15 17:48:43 -04:00
Jeffrey Walton
866fbeb8e4 Cleared compile error masked behind ASSERT 2015-07-14 01:25:59 -04:00
Jeffrey Walton
828c550389 Cleared C4242 warning uder Visual Studio 2015-07-13 23:59:01 -04:00
Jeffrey Walton
01caf892e0 Whitespcae check-in 2015-07-13 23:20:36 -04:00