Article View: gnu.gcc.bug
Article #1892(apparent) BUG in GCC 1.30 (tm-encore.h)
From: Ron Guilmette
Date: Wed, 26 Oct 1988 23:02
Date: Wed, 26 Oct 1988 23:02
26 lines
1139 bytes
1139 bytes
BUG in GCC 1.30 -- suggested patch given below
In the file tm-encore.h in GCC 1.30, the definition of the ASM_OUTPUT_LOCAL()
macro looks exceptionally fishy. It seems to be IGNORING the SIZE parameter
for a ".bss" declaration!
The following small patch fixes this.
diff -rc2 1.30-old/tm-encore.h 1.30-new/tm-encore.h
*** 1.30-old/tm-encore.h Sat Oct 8 10:09:17 1988
--- 1.30-new/tm-encore.h Wed Oct 26 12:19:04 1988
***************
*** 97,101
( fputs ("\t.bss ", (FILE)), \
assemble_name ((FILE), (NAME)), \
! fprintf ((FILE), ",%d,4\n", (ROUNDED)))
/*
--- 99,103 -----
( fputs ("\t.bss ", (FILE)), \
assemble_name ((FILE), (NAME)), \
! fprintf ((FILE), ",%d,%d\n", (SIZE), (ROUNDED)))
/*
Technical Details
Message-ID:
<8810262302.AA08397@nsc.NSC.COM>Path:
arc1-ca.pugleaf.net!utzoo!telly!ddsw1!lll-winken!uunet!tut.cis.ohio-state.edu!nsc.nsc.com!rfgShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!telly!ddsw1!lll-winken!uunet!tut.cis.ohio-state.edu!nsc.nsc.com!rfg From: rfg@nsc.nsc.com (Ron Guilmette) Newsgroups: gnu.gcc.bug Subject: (apparent) BUG in GCC 1.30 (tm-encore.h) Message-ID: <8810262302.AA08397@nsc.NSC.COM> Date: 26 Oct 88 23:02:34 GMT Sender: daemon@tut.cis.ohio-state.edu Distribution: gnu Organization: GNUs Not Usenet Lines: 25