Path: 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 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))) /*