Commit Graph

2 Commits

Author SHA1 Message Date
James Zern
002b6b1ce0 compiler_attributes.h: add VPX_NO_UNSIGNED_SHIFT_CHECK
and use it on MD5Transform(); this behavior is well defined and is only
a warning with -fsanitize=integer, not -fsanitize=undefined.

quiets warnings of the form:
md5_utils.c:163:3: runtime error: left shift of 143704723 by 7 places
cannot be represented in type 'unsigned int'

Bug: b/229626362
Change-Id: I60a384b2c2556f5ce71ad8ebce050329aba0b4e4
2022-08-18 19:12:51 -07:00
James Zern
c713f84616 move common attribute defs to compiler_attributes.h
BUG=b/148271109

Change-Id: I620e26ff1233fcd34ebe0723cb913e82eb58271c
2020-02-14 20:44:01 -08:00