Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
riscv-gcc-1
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
riscv-gcc-1
Commits
7c39cdd4
Commit
7c39cdd4
authored
Sep 17, 1999
by
Jason Merrill
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
revert
From-SVN: r29471
parent
905d7d33
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
1 additions
and
18 deletions
+1
-18
gcc/cp/ChangeLog
+0
-6
gcc/cp/class.c
+1
-6
gcc/cp/decl.c
+0
-6
No files found.
gcc/cp/ChangeLog
View file @
7c39cdd4
...
@@ -8,12 +8,6 @@
...
@@ -8,12 +8,6 @@
(dump_function_decl): Don't be too talkative about function return
(dump_function_decl): Don't be too talkative about function return
type variety.
type variety.
1999-09-16 Jason Merrill <jason@yorick.cygnus.com>
* decl.c (saved_scope_p): New fn.
* class.c (pushclass): Don't clear class_cache_obstack if we have
saved scopes.
1999-09-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1999-09-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* lex.c (init_cpp_parse): Call xcalloc, not malloc/bzero.
* lex.c (init_cpp_parse): Call xcalloc, not malloc/bzero.
...
...
gcc/cp/class.c
View file @
7c39cdd4
...
@@ -4499,17 +4499,12 @@ pushclass (type, modify)
...
@@ -4499,17 +4499,12 @@ pushclass (type, modify)
/* Forcibly remove any old class remnants. */
/* Forcibly remove any old class remnants. */
invalidate_class_lookup_cache
();
invalidate_class_lookup_cache
();
/* Now, free the obstack on which we cached all the values.
/* Now, free the obstack on which we cached all the values. */
We can't do this if we have saved scopes sitting around, since
they may have saved previous_class_values. */
if
(
!
saved_scope_p
())
{
if
(
class_cache_firstobj
)
if
(
class_cache_firstobj
)
obstack_free
(
&
class_cache_obstack
,
class_cache_firstobj
);
obstack_free
(
&
class_cache_obstack
,
class_cache_firstobj
);
class_cache_firstobj
class_cache_firstobj
=
(
char
*
)
obstack_finish
(
&
class_cache_obstack
);
=
(
char
*
)
obstack_finish
(
&
class_cache_obstack
);
}
}
}
/* If we're about to enter a nested class, clear
/* If we're about to enter a nested class, clear
IDENTIFIER_CLASS_VALUE for the enclosing classes. */
IDENTIFIER_CLASS_VALUE for the enclosing classes. */
...
...
gcc/cp/decl.c
View file @
7c39cdd4
...
@@ -2482,12 +2482,6 @@ pop_from_top_level ()
...
@@ -2482,12 +2482,6 @@ pop_from_top_level ()
free
(
s
);
free
(
s
);
}
}
int
saved_scope_p
()
{
return
current_saved_scope
!=
NULL
;
}
/* Push a definition of struct, union or enum tag "name".
/* Push a definition of struct, union or enum tag "name".
into binding_level "b". "type" should be the type node,
into binding_level "b". "type" should be the type node,
We assume that the tag "name" is not already defined.
We assume that the tag "name" is not already defined.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment