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
93e4100a
Commit
93e4100a
authored
Jun 27, 1993
by
Richard Kenner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(collect_iterators, case SAVE_EXPR): Simplify code added in previous
change. From-SVN: r4768
parent
3319a347
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
7 deletions
+4
-7
gcc/c-iterate.c
+4
-7
No files found.
gcc/c-iterate.c
View file @
93e4100a
/* Build expressions with type checking for C compiler.
/* Build expressions with type checking for C compiler.
Copyright (C) 1987, 1988, 1989, 1992 Free Software Foundation, Inc.
Copyright (C) 1987, 1988, 1989, 1992
, 1993
Free Software Foundation, Inc.
This file is part of GNU CC.
This file is part of GNU CC.
...
@@ -209,12 +209,9 @@ collect_iterators (exp, list)
...
@@ -209,12 +209,9 @@ collect_iterators (exp, list)
case
SAVE_EXPR
:
case
SAVE_EXPR
:
/* In each scan, scan a given save_expr only once. */
/* In each scan, scan a given save_expr only once. */
{
if
(
value_member
(
exp
,
save_exprs
))
tree
tail
;
return
list
;
for
(
tail
=
save_exprs
;
tail
;
tail
=
TREE_CHAIN
(
tail
))
if
(
TREE_VALUE
(
tail
)
==
exp
)
return
list
;
}
save_exprs
=
tree_cons
(
NULL_TREE
,
exp
,
save_exprs
);
save_exprs
=
tree_cons
(
NULL_TREE
,
exp
,
save_exprs
);
return
collect_iterators
(
TREE_OPERAND
(
exp
,
0
),
list
);
return
collect_iterators
(
TREE_OPERAND
(
exp
,
0
),
list
);
...
...
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