Subject: bug#18743: 25.0.50; Clang 3.0 fails to compile src/fns.c, GCC 4.8 cannot dump emacs

From: Andreas Schwab <[email-masked]>
Date: Sun, 03 Dec 2017 20:41:26 +0100

On Dez 03 2017, Noam Postavsky <[email-masked]> wrote:

> From b7e08e341c19e1d2c8b1105ea1d94979577dbd02 Mon Sep 17 00:00:00 2001
> From: Noam Postavsky <[email-masked]>
> Date: Tue, 28 Nov 2017 20:54:00 -0500
> Subject: [PATCH] Don't increment array (Bug#18743)
>
> * src/fns.c (merge_vectors): Use integer indexes instead of
> incrementing pointers.

Please add a comment that this is a workaround for a compiler bug.

Andreas.

-- 
Andreas Schwab, [email-masked]
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."