Subject: bug#12484: closed (Re: bug#12484: bytecode.c compilation problem with old gcc)

From: [email-masked] (GNU bug Tracking System)
Date: Wed, 07 Dec 2016 17:30:03 +0000

Your bug report

#12484: bytecode.c compilation problem with old gcc

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
12484: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=12484
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#12484: bytecode.c compilation problem with old gcc
From: Glenn Morris <[email-masked]>
To: [email-masked]
Date: Wed, 07 Dec 2016 12:29:42 -0500
List-Id: <debbugs-submit.debbugs.gnu.org>

Dan Nicolaescu wrote:

> On an old machine with:
>
> $ gcc --version
> 2.96
>
> bytecode.c does not compile:

gcc 2.96 was obsolete when this report was new.
4 years on, it's really really obsolete.
Given the lack of interest in this report, I think it is now time to
close it as wontfix.

Subject: bytecode.c compilation problem with old gcc
From: Dan Nicolaescu <[email-masked]>
To: [email-masked]
Date: Fri, 21 Sep 2012 14:56:00 -0400
List-Id: <debbugs-submit.debbugs.gnu.org>

On an old machine with:

$ gcc --version
2.96

bytecode.c does not compile:

gcc   -g3 -O2 /home/dann/hack/emacs/Emacs-CVS/emacs/src/bytecode.c
emacs/src/bytecode.c: In function `exec_byte_code':
emacs/src/bytecode.c:672: duplicate array index in initializer
emacs/src/bytecode.c:672: (near initialization for `targets')
emacs/src/bytecode.c:672: warning: excess elements in array initializer
emacs/src/bytecode.c:672: warning: (near initialization for `targets')
emacs/src/bytecode.c:672: duplicate array index in initializer

Disabling BYTE_CODE_THREADED makes it work.

Maybe the #if that enables BYTE_CODE_THREADED needs to be refined a bit.