[PATCH] Improve boostrap-ubsan config (PR bootstrap/64914).

Martin Liška mliska@suse.cz
Thu Mar 1 11:41:00 GMT 2018


Hi.

I've been running periodically UBSAN bootstrap and as the runtime errors are
not causing failure of compiler I haven't noticed the errors.
Thus I would like to disable UBSAN recovery. Apart from that I'm handling
issue in md5.c where in UBSAN bootstrap we want to do proper pointer alignment.
Doing that 2 will be remaining issues that will block the bootstrap:

PR84634 and PR84635

May I then install the patch? Jakub what do you think about it?

Thanks,
Martin

config/ChangeLog:

2018-03-01  Martin Liska  <mliska@suse.cz>

	PR bootstrap/64914
	* bootstrap-ubsan.mk: Define UBSAN_BOOTSTRAP macro and disable
	recovery mode.

libiberty/ChangeLog:

2018-03-01  Martin Liska  <mliska@suse.cz>

	PR bootstrap/64914
	* md5.c: Use strict alignment with UBSAN_BOOTSTRAP.
---
 config/bootstrap-ubsan.mk | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)


-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Improve-boostrap-ubsan-config-PR-bootstrap-64914.patch
Type: text/x-patch
Size: 861 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20180301/41d23213/attachment.bin>


More information about the Gcc-patches mailing list