GNU bug report logs - #12484
bytecode.c compilation problem with old gcc

Previous Next

Package: emacs;

Reported by: Dan Nicolaescu <dann <at> gnu.org>

Date: Fri, 21 Sep 2012 18:58:02 UTC

Severity: minor

Tags: wontfix

Merged with 15111

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Dan Nicolaescu <dann <at> gnu.org>
Subject: bug#12484: closed (Re: bug#12484: bytecode.c compilation problem
 with old gcc)
Date: Wed, 07 Dec 2016 17:30:03 +0000
[Message part 1 (text/plain, inline)]
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 12484 <at> debbugs.gnu.org.

-- 
12484: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=12484
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Glenn Morris <rgm <at> gnu.org>
To: 12484-done <at> debbugs.gnu.org
Subject: Re: bug#12484: bytecode.c compilation problem with old gcc
Date: Wed, 07 Dec 2016 12:29:42 -0500
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.

[Message part 3 (message/rfc822, inline)]
From: Dan Nicolaescu <dann <at> gnu.org>
To: bug-gnu-emacs <at> gnu.org
Subject: bytecode.c compilation problem with old gcc
Date: Fri, 21 Sep 2012 14:56:00 -0400
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.




This bug report was last modified 8 years and 170 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.