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
07e96fc6
Commit
07e96fc6
authored
Nov 27, 2001
by
Zack Weinberg
Committed by
Neil Booth
Nov 27, 2001
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* cppfiles.c (read_include_file): Add comment.
From-SVN: r47369
parent
773105be
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
0 deletions
+9
-0
gcc/ChangeLog
+4
-0
gcc/cppfiles.c
+5
-0
No files found.
gcc/ChangeLog
View file @
07e96fc6
2001
-
11
-
27
Zack
Weinberg
<
zack
@codesourcery
.
com
>
*
cppfiles
.
c
(
read_include_file
)
:
Add
comment
.
2001
-
11
-
26
Richard
Henderson
<
rth
@redhat
.
com
>
*
toplev
.
c
(
rest_of_compilation
)
:
Call
free_bb_for_insn
before
exit
.
...
...
gcc/cppfiles.c
View file @
07e96fc6
...
...
@@ -382,6 +382,11 @@ read_include_file (pfile, inc)
if
(
pagesize
==
-
1
)
pagesize
=
getpagesize
();
/* Use mmap if the file is big enough to be worth it (controlled
by MMAP_THRESHOLD) and if we can safely count on there being
at least one readable NUL byte after the end of the file's
contents. This is true for all tested operating systems when
the file size is not an exact multiple of the page size. */
if
(
size
/
pagesize
>=
MMAP_THRESHOLD
&&
(
size
%
pagesize
)
!=
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