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
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
22 deletions
+5
-22
gcc/cp/ChangeLog
+0
-6
gcc/cp/class.c
+5
-10
gcc/cp/decl.c
+0
-6
No files found.
gcc/cp/ChangeLog
View file @
7c39cdd4
...
...
@@ -8,12 +8,6 @@
(dump_function_decl): Don't be too talkative about function return
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>
* lex.c (init_cpp_parse): Call xcalloc, not malloc/bzero.
...
...
gcc/cp/class.c
View file @
7c39cdd4
...
...
@@ -4499,16 +4499,11 @@ pushclass (type, modify)
/* Forcibly remove any old class remnants. */
invalidate_class_lookup_cache
();
/* 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
)
obstack_free
(
&
class_cache_obstack
,
class_cache_firstobj
);
class_cache_firstobj
=
(
char
*
)
obstack_finish
(
&
class_cache_obstack
);
}
/* Now, free the obstack on which we cached all the values. */
if
(
class_cache_firstobj
)
obstack_free
(
&
class_cache_obstack
,
class_cache_firstobj
);
class_cache_firstobj
=
(
char
*
)
obstack_finish
(
&
class_cache_obstack
);
}
/* If we're about to enter a nested class, clear
...
...
gcc/cp/decl.c
View file @
7c39cdd4
...
...
@@ -2481,12 +2481,6 @@ pop_from_top_level ()
free
(
s
);
}
int
saved_scope_p
()
{
return
current_saved_scope
!=
NULL
;
}
/* Push a definition of struct, union or enum tag "name".
into binding_level "b". "type" should be the type node,
...
...
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