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
4543ee47
Commit
4543ee47
authored
Jan 21, 2004
by
Zdenek Dvorak
Committed by
Zdenek Dvorak
Jan 21, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* parser.c (cp_parser_class_specifier): Prevent garbage collection.
From-SVN: r76264
parent
c930d8a5
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
0 deletions
+8
-0
gcc/cp/ChangeLog
+4
-0
gcc/cp/parser.c
+4
-0
No files found.
gcc/cp/ChangeLog
View file @
4543ee47
2004-01-21 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
* parser.c (cp_parser_class_specifier): Prevent garbage collection.
2004-01-20 Kelley Cook <kcook@gcc.gnu.org>
2004-01-20 Kelley Cook <kcook@gcc.gnu.org>
* Make-lang.in: Replace $(docdir) with doc.
* Make-lang.in: Replace $(docdir) with doc.
...
...
gcc/cp/parser.c
View file @
4543ee47
...
@@ -11699,8 +11699,12 @@ cp_parser_class_specifier (cp_parser* parser)
...
@@ -11699,8 +11699,12 @@ cp_parser_class_specifier (cp_parser* parser)
/* Figure out which function we need to process. */
/* Figure out which function we need to process. */
fn
=
TREE_VALUE
(
queue_entry
);
fn
=
TREE_VALUE
(
queue_entry
);
/* A hack to prevent garbage collection. */
function_depth
++
;
/* Parse the function. */
/* Parse the function. */
cp_parser_late_parsing_for_member
(
parser
,
fn
);
cp_parser_late_parsing_for_member
(
parser
,
fn
);
function_depth
--
;
}
}
}
}
...
...
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