Thread View: gnu.g++.bug
1 messages
1 total messages
Started by tiemann
Tue, 02 Jan 1990 19:59
const function bug
Author: tiemann
Date: Tue, 02 Jan 1990 19:59
Date: Tue, 02 Jan 1990 19:59
21 lines
1142 bytes
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
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads