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
f0c988c8
Commit
f0c988c8
authored
Mar 13, 2000
by
Bernd Schmidt
Committed by
Bernd Schmidt
Mar 13, 2000
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix recently introduced error in expand_end_case.
From-SVN: r32511
parent
93ca4ba7
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
0 deletions
+8
-0
gcc/ChangeLog
+5
-0
gcc/stmt.c
+3
-0
No files found.
gcc/ChangeLog
View file @
f0c988c8
2000
-
03
-
13
Bernd
Schmidt
<
bernds
@cygnus
.
co
.
uk
>
*
stmt
.
c
(
expand_end_case
)
:
RANGE
may
be
signed
,
and
when
checking
whether
it
is
too
large
we
must
also
verify
that
it
isn
'
t
negative
.
2000
-
03
-
13
Jakub
Jelinek
<
jakub
@redhat
.
com
>
*
config
/
sparc
/
sparc
.
md
:
Remove
all
traces
of
TARGET_LIVE_G0
.
...
...
gcc/stmt.c
View file @
f0c988c8
...
...
@@ -5402,6 +5402,9 @@ expand_end_case (orig_index)
else
if
(
count
<
CASE_VALUES_THRESHOLD
||
compare_tree_int
(
range
,
10
*
count
)
>
0
/* RANGE may be signed, and really large ranges will show up
as negative numbers. */
||
compare_tree_int
(
range
,
0
)
<
0
#ifndef ASM_OUTPUT_ADDR_DIFF_ELT
||
flag_pic
#endif
...
...
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