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
3c5d8683
Commit
3c5d8683
authored
Apr 26, 1997
by
Doug Evans
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(pushcase_range): [try to] properly apply previous patch of empty range test.
From-SVN: r13985
parent
db5a4680
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 @
3c5d8683
...
...
@@ -4410,10 +4410,6 @@ pushcase (value, converter, label, duplicate)
if
(
!
(
case_stack
&&
case_stack
->
data
.
case_stmt
.
start
))
return
1
;
/* Fail if the range is empty. */
if
(
tree_int_cst_lt
(
value2
,
value1
))
return
4
;
if
(
stack_block_stack
&&
stack_block_stack
->
depth
>
case_stack
->
depth
)
return
5
;
...
...
@@ -4494,6 +4490,10 @@ pushcase_range (value1, value2, converter, label, duplicate)
if
(
!
(
case_stack
&&
case_stack
->
data
.
case_stmt
.
start
))
return
1
;
/* Fail if the range is empty. */
if
(
tree_int_cst_lt
(
value2
,
value1
))
return
4
;
if
(
stack_block_stack
&&
stack_block_stack
->
depth
>
case_stack
->
depth
)
return
5
;
...
...
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