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
01f76283
Commit
01f76283
authored
Jan 06, 1999
by
Per Bothner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
i
Fixed some stupid typos that managed to get checked in. From-SVN: r24543
parent
884ba59a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
7 deletions
+6
-7
gcc/java/check-init.c
+6
-7
No files found.
gcc/java/check-init.c
View file @
01f76283
...
...
@@ -145,12 +145,12 @@ check_cond_init (test_exp, then_exp, else_exp,
}
/* Check a boolean binary form CODE (EXP0, EXP1),
where CODE is one of EQ_EXPR, BIT_AND_EXPR, or BIT_OR_EXPR.
where CODE is one of EQ_EXPR, BIT_AND_EXPR, or BIT_
I
OR_EXPR.
BEFORE, WHEN_FALSE, and WHEN_TRUE are as in check_bool_init. */
static
void
check_bool2_init
(
code
,
exp0
,
exp1
,
before
,
when_false
,
when_true
)
enumtree_code
code
;
tree
exp0
,
exp1
;
enum
tree_code
code
;
tree
exp0
,
exp1
;
words
before
,
when_false
,
when_true
;
{
word
buf
[
4
];
...
...
@@ -192,13 +192,13 @@ check_bool2_init (code, exp0, exp1, before, when_false, when_true)
{
UNION
(
when_true
,
when_true_0
,
when_true_1
);
INTERSECT
(
when_false
,
when_false_0
,
when_false_1
);
UNION
(
when_false
,
before
);
UNION
(
when_false
,
when_false
,
before
);
}
else
/* if (code == BIT_OR_EXPR) */
else
/* if (code == BIT_
I
OR_EXPR) */
{
UNION
(
when_false
,
when_false_0
,
when_false_1
);
INTERSECT
(
when_true
,
when_true_0
,
when_true_1
);
UNION
(
when_true
,
before
);
UNION
(
when_true
,
when_true
,
before
);
}
if
(
tmp
!=
buf
)
...
...
@@ -215,7 +215,6 @@ check_bool2_init (code, exp0, exp1, before, when_false, when_true)
(WHEN_FALSE and WHEN_TRUE are overwriten with initial values ignored.)
(None of BEFORE, WHEN_FALSE, or WHEN_TRUE can overlap, as they may
be used as temporary working areas. */
*/
static
void
check_bool_init
(
exp
,
before
,
when_false
,
when_true
)
...
...
@@ -263,7 +262,7 @@ check_bool_init (exp, before, when_false, when_true)
goto
do_default
;
case
BIT_AND_EXPR
:
case
BIT_OR_EXPR
:
case
BIT_
I
OR_EXPR
:
case
EQ_EXPR
:
check_bool2_init
(
TREE_CODE
(
exp
),
TREE_OPERAND
(
exp
,
0
),
TREE_OPERAND
(
exp
,
1
),
...
...
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