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
90376ae2
Commit
90376ae2
authored
Jul 21, 2001
by
Bruce Korb
Committed by
Bruce Korb
Jul 21, 2001
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
force unsigned char compares
From-SVN: r44219
parent
907cb30e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
1 deletions
+7
-1
gcc/ChangeLog
+5
-0
gcc/fixinc/fixincl.c
+2
-1
No files found.
gcc/ChangeLog
View file @
90376ae2
2001-07-20 Bruce Korb <bkorb@gnu.org>
* fixinc/fixincl.c(test_for_changes): force unsigned char comparisons
because getc() and char* may disagree on signedness.
2001-07-20 Richard Henderson <rth@redhat.com>
* doc/rtl.texi (REG_DEAD): Update for current semantics.
...
...
gcc/fixinc/fixincl.c
View file @
90376ae2
...
...
@@ -1261,7 +1261,7 @@ test_for_changes (read_fd)
{
FILE
*
in_fp
=
fdopen
(
read_fd
,
"r"
);
FILE
*
out_fp
=
(
FILE
*
)
NULL
;
char
*
pz_cmp
=
pz_curr_data
;
unsigned
char
*
pz_cmp
=
(
unsigned
char
*
)
pz_curr_data
;
#ifdef DO_STATS
fixed_ct
++
;
...
...
@@ -1273,6 +1273,7 @@ test_for_changes (read_fd)
ch
=
getc
(
in_fp
);
if
(
ch
==
EOF
)
break
;
ch
&=
0xFF
;
/* all bytes are 8 bits */
/* IF we are emitting the output
THEN emit this character, too.
...
...
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