Improve boostrap-ubsan config (PR bootstrap/64914).
2018-05-10 Martin Liska <mliska@suse.cz> PR bootstrap/64914 * md5.c: Use strict alignment with UBSAN_BOOTSTRAP. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@260112 138bc75d-0d04-0410-961f-82ee72b054a4
This commit is contained in:
parent
e4554bf702
commit
5b372a4d35
@ -1,3 +1,8 @@
|
||||
2018-05-10 Martin Liska <mliska@suse.cz>
|
||||
|
||||
PR bootstrap/64914
|
||||
* md5.c: Use strict alignment with UBSAN_BOOTSTRAP.
|
||||
|
||||
2018-04-30 Daniel van Gerpen <daniel@vangerpen.de>
|
||||
|
||||
* argv.c (expandargv): Fix memory leak for copied argv.
|
||||
|
@ -231,7 +231,7 @@ md5_process_bytes (const void *buffer, size_t len, struct md5_ctx *ctx)
|
||||
/* Process available complete blocks. */
|
||||
if (len > 64)
|
||||
{
|
||||
#if !_STRING_ARCH_unaligned
|
||||
#if !_STRING_ARCH_unaligned || defined UBSAN_BOOTSTRAP
|
||||
/* To check alignment gcc has an appropriate operator. Other
|
||||
compilers don't. */
|
||||
# if __GNUC__ >= 2
|
||||
|
Loading…
Reference in New Issue
Block a user