🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.bug
Article #579

Re: GCC 1.35 'const' makes wrong assumptions about assembler

#579
From: Andrew Klossner
Date: Thu, 07 Sep 1989 16:23
11 lines
1025 bytes
Kevin O'Gorman (kevin@kosman.UUCP) reports that a "const" array
initialized to zero is translated to an assembly language "space"
pseudo-op in the text segment, and that the assembler allocates the
space but fills it with some non-zero value.

It's common for assemblers to satisfy a text "space" with no-op
instructions.  GCC should not assume that "space" in the text segment
will generate zeros.

  -=- Andrew Klossner   (uunet!tektronix!frip.WV.TEK!andrew)    [UUCP]
                        (andrew%frip.wv.tek.com@relay.cs.net)   [ARPA]
Technical Details
Message-ID: <4462@orca.WV.TEK.COM>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!csd4.csd.uwm.edu!gem.mps.ohio-state.edu!ginosko!uunet!zephyr.ens.tek.com!orca!frip!andrew
References: <956@kosman.UUCP>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!csd4.csd.uwm.edu!gem.mps.ohio-state.edu!ginosko!uunet!zephyr.ens.tek.com!orca!frip!andrew
From: andrew@frip.WV.TEK.COM (Andrew Klossner)
Newsgroups: gnu.gcc.bug
Subject: Re: GCC 1.35 'const' makes wrong assumptions about assembler
Message-ID: <4462@orca.WV.TEK.COM>
Date: 7 Sep 89 16:23:46 GMT
References: <956@kosman.UUCP>
Sender: nobody@orca.WV.TEK.COM
Organization: Tektronix, Wilsonville, Oregon
Lines: 11