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
9ab0ddd7
Commit
9ab0ddd7
authored
Jul 05, 1992
by
Richard Stallman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
*** empty log message ***
From-SVN: r1452
parent
1600ec67
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
1 deletions
+8
-1
gcc/stmt.c
+8
-1
No files found.
gcc/stmt.c
View file @
9ab0ddd7
...
...
@@ -3232,6 +3232,9 @@ pushcase (value, label, duplicate)
if
(
index_type
==
error_mark_node
)
return
0
;
/* There may be NOP_EXPR around the value if we got it from an enum. */
STRIP_NOPS
(
arg
);
/* Convert VALUE to the type in which the comparisons are nominally done. */
if
(
value
!=
0
)
value
=
convert
(
nominal_type
,
value
);
...
...
@@ -3361,6 +3364,10 @@ pushcase_range (value1, value2, label, duplicate)
}
case_stack
->
data
.
case_stmt
.
seenlabel
=
1
;
/* There may be NOP_EXPR around the value if we got it from an enum. */
STRIP_NOPS
(
value1
);
STRIP_NOPS
(
value2
);
/* Convert VALUEs to type in which the comparisons are nominally done. */
if
(
value1
==
0
)
/* Negative infinity. */
value1
=
TYPE_MIN_VALUE
(
index_type
);
...
...
@@ -3525,7 +3532,7 @@ check_for_full_enumeration_handling (type)
}
/* Terminate a case (Pascal) or switch (C) statement
in which
CASE
_INDEX is the expression to be tested.
in which
ORIG
_INDEX is the expression to be tested.
Generate the code to test it and jump to the right place. */
void
...
...
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