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
4c495b0d
Commit
4c495b0d
authored
Aug 22, 2013
by
Jan Hubicka
Committed by
Jan Hubicka
Aug 22, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* timevar.c (validate_phases): Add cast.
From-SVN: r201921
parent
5e302bca
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
1 deletions
+6
-1
gcc/ChangeLog
+4
-0
gcc/timevar.c
+2
-1
No files found.
gcc/ChangeLog
View file @
4c495b0d
2013-08-22 Jan Hubicka <jh@susue.cz>
2013-08-22 Jan Hubicka <jh@susue.cz>
* timevar.c (validate_phases): Add cast.
2013-08-22 Jan Hubicka <jh@susue.cz>
* timevar.c (validate_phases): Use size_t for memory.
* timevar.c (validate_phases): Use size_t for memory.
* timevar.h (struct timevar_time_def): Use size_t for ggc_mem.
* timevar.h (struct timevar_time_def): Use size_t for ggc_mem.
...
...
gcc/timevar.c
View file @
4c495b0d
...
@@ -465,7 +465,8 @@ validate_phases (FILE *fp)
...
@@ -465,7 +465,8 @@ validate_phases (FILE *fp)
if
(
phase_wall
>
total
->
wall
)
if
(
phase_wall
>
total
->
wall
)
fprintf
(
fp
,
"wall %24.18e > %24.18e
\n
"
,
phase_wall
,
total
->
wall
);
fprintf
(
fp
,
"wall %24.18e > %24.18e
\n
"
,
phase_wall
,
total
->
wall
);
if
(
phase_ggc_mem
>
total
->
ggc_mem
)
if
(
phase_ggc_mem
>
total
->
ggc_mem
)
fprintf
(
fp
,
"ggc_mem %24lu > %24lu
\n
"
,
phase_ggc_mem
,
total
->
ggc_mem
);
fprintf
(
fp
,
"ggc_mem %24lu > %24lu
\n
"
,
(
unsigned
long
)
phase_ggc_mem
,
(
unsigned
long
)
total
->
ggc_mem
);
gcc_unreachable
();
gcc_unreachable
();
}
}
}
}
...
...
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