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
b059139c
Commit
b059139c
authored
Apr 20, 1996
by
Richard Kenner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Revert to 1.140.
From-SVN: r11856
parent
48cda10e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
gcc/stmt.c
+4
-4
No files found.
gcc/stmt.c
View file @
b059139c
...
...
@@ -4871,10 +4871,6 @@ expand_end_case (orig_index)
/* An ERROR_MARK occurs for various reasons including invalid data type. */
if
(
index_type
!=
error_mark_node
)
{
if
(
thiscase
->
data
.
case_stmt
.
case_list
)
thiscase
->
data
.
case_stmt
.
case_list
=
case_tree2list
(
thiscase
->
data
.
case_stmt
.
case_list
,
0
);
/* If switch expression was an enumerated type, check that all
enumeration literals are covered by the cases.
No sense trying this if there's a default case, however. */
...
...
@@ -4912,6 +4908,10 @@ expand_end_case (orig_index)
before_case
=
get_last_insn
();
if
(
thiscase
->
data
.
case_stmt
.
case_list
)
thiscase
->
data
.
case_stmt
.
case_list
=
case_tree2list
(
thiscase
->
data
.
case_stmt
.
case_list
,
0
);
/* Simplify the case-list before we count it. */
group_case_nodes
(
thiscase
->
data
.
case_stmt
.
case_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