🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.g++.bug
Article #2116

const function bug

#2116
From: tiemann
Date: Tue, 02 Jan 1990 19:59
21 lines
1142 bytes
And this:

calvin% diff -c2 cplus-decl.c~ cplus-decl.c
*** cplus-decl.c~	Tue Jan  2 14:45:55 1990
--- cplus-decl.c	Tue Jan  2 14:55:16 1990
***************
*** 1571,1575 ****
        /* A `const' which was not declared `extern' and is
  	 in static storage is invisible.  */
!       if (TREE_READONLY (newdecl) && TREE_STATIC (newdecl)
  	  && ! DECL_EXTERNAL (newdecl))
  	TREE_PUBLIC (newdecl) = 0;
--- 1571,1576 ----
        /* A `const' which was not declared `extern' and is
  	 in static storage is invisible.  */
!       if (TREE_CODE (newdecl) == VAR_DECL
! 	  && TREE_READONLY (newdecl) && TREE_STATIC (newdecl)
  	  && ! DECL_EXTERNAL (newdecl))
  	TREE_PUBLIC (newdecl) = 0;

Michael
Technical Details
Message-ID: <9001021959.AA15883@snoopy.crd.Ge.Com>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!clyde.concordia.ca!uunet!tut.cis.ohio-state.edu!snoopy.crd.ge.com!tiemann

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!clyde.concordia.ca!uunet!tut.cis.ohio-state.edu!snoopy.crd.ge.com!tiemann
From: tiemann@snoopy.crd.ge.com
Newsgroups: gnu.g++.bug
Subject: const function bug
Message-ID: <9001021959.AA15883@snoopy.crd.Ge.Com>
Date: 2 Jan 90 19:59:27 GMT
Sender: daemon@tut.cis.ohio-state.edu
Reply-To: tiemann@wheaties.ai.mit.edu
Distribution: gnu
Organization: GNUs Not Usenet
Lines: 21