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
c565a6b7
Commit
c565a6b7
authored
Jan 04, 2000
by
J"orn Rennecke
Committed by
Jeff Law
Jan 04, 2000
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* fold-const.c (make_range): Don't try to reverse an unbounded range.
From-SVN: r31197
parent
70dec765
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
4 deletions
+9
-4
gcc/ChangeLog
+4
-0
gcc/fold-const.c
+5
-4
No files found.
gcc/ChangeLog
View file @
c565a6b7
Tue
Jan
4
01
:
35
:
13
2000
J
"orn Rennecke <amylaar@cygnus.co.uk>
* fold-const.c (make_range): Don't try to reverse an unbounded range.
Tue Jan 4 00:18:46 2000 Jeffrey A Law (law@cygnus.com)
* regclass.c (regclass): Properly compute loop_cost. Adjust
...
...
gcc/fold-const.c
View file @
c565a6b7
/* Fold a constant sub-tree into a single node for C-compiler
Copyright (C) 1987, 88, 92-98, 1999 Free Software Foundation, Inc.
Copyright (C) 1987, 88, 92-98, 1999
, 2000
Free Software Foundation, Inc.
This file is part of GNU CC.
...
...
@@ -3315,9 +3315,10 @@ make_range (exp, pin_p, plow, phigh)
in_p
=
n_in_p
,
low
=
n_low
,
high
=
n_high
;
/* If the high bound is missing, reverse the range so it
goes from zero to the low bound minus 1. */
if
(
high
==
0
)
/* If the high bound is missing, but we
have a low bound, reverse the range so
it goes from zero to the low bound minus 1. */
if
(
high
==
0
&&
low
)
{
in_p
=
!
in_p
;
high
=
range_binop
(
MINUS_EXPR
,
NULL_TREE
,
low
,
0
,
...
...
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