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
c7fdde6d
Commit
c7fdde6d
authored
Aug 25, 1995
by
Per Bothner
Committed by
Richard Kenner
Aug 25, 1995
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(FOR): Call note_level_for_for.
From-SVN: r10276
parent
f3be9e3c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
gcc/cp/parse.y
+3
-3
No files found.
gcc/cp/parse.y
View file @
c7fdde6d
...
@@ -55,7 +55,6 @@ extern int errno;
...
@@ -55,7 +55,6 @@ extern int errno;
extern int end_of_file;
extern int end_of_file;
extern int current_class_depth;
extern int current_class_depth;
extern int flag_new_for_scope;
void yyerror ();
void yyerror ();
...
@@ -3246,10 +3245,11 @@ simple_stmt:
...
@@ -3246,10 +3245,11 @@ simple_stmt:
finish_stmt (); }
finish_stmt (); }
| FOR
| FOR
{ emit_line_note (input_filename, lineno);
{ emit_line_note (input_filename, lineno);
if (flag_new_for_scope)
if (flag_new_for_scope
> 0
)
{
{
/* Conditionalize .pushlevel */
/* Conditionalize .pushlevel */
pushlevel (0);
pushlevel (0);
note_level_for_for ();
clear_last_expr ();
clear_last_expr ();
push_momentary ();
push_momentary ();
expand_start_bindings (0);
expand_start_bindings (0);
...
@@ -3272,7 +3272,7 @@ simple_stmt:
...
@@ -3272,7 +3272,7 @@ simple_stmt:
if ($10) cplus_expand_expr_stmt ($10);
if ($10) cplus_expand_expr_stmt ($10);
pop_momentary ();
pop_momentary ();
expand_end_loop ();
expand_end_loop ();
if (flag_new_for_scope)
if (flag_new_for_scope
> 0
)
{
{
expand_end_bindings (getdecls (), kept_level_p (), 1);
expand_end_bindings (getdecls (), kept_level_p (), 1);
poplevel (kept_level_p (), 1, 0);
poplevel (kept_level_p (), 1, 0);
...
...
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