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
64567cfd
Commit
64567cfd
authored
Mar 15, 2016
by
Richard Henderson
Committed by
Richard Henderson
Mar 15, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix compiling large files
* line-map.c (new_linemap): Make alloc_size a size_t. From-SVN: r234239
parent
6585b2e2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletions
+5
-1
libcpp/ChangeLog
+4
-0
libcpp/line-map.c
+1
-1
No files found.
libcpp/ChangeLog
View file @
64567cfd
2016
-
03
-
15
Richard
Henderson
<
rth
@
redhat.com
>
*
line
-map.c
(
new_linemap
):
Make
alloc_size
a
size_t.
2016
-
03
-
14
Jason
Merrill
<
jason
@
redhat.com
>
*
expr.c
(
cpp_classify_number
):
Hex
floats
are
new
in
C
++
1
z.
...
...
libcpp/line-map.c
View file @
64567cfd
...
...
@@ -376,7 +376,7 @@ new_linemap (struct line_maps *set,
if
(
LINEMAPS_USED
(
set
,
macro_map_p
)
==
LINEMAPS_ALLOCATED
(
set
,
macro_map_p
))
{
/* We ran out of allocated line maps. Let's allocate more. */
unsigned
alloc_size
;
size_t
alloc_size
;
/* Cast away extern "C" from the type of xrealloc. */
line_map_realloc
reallocator
=
(
set
->
reallocator
...
...
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