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
14e7bf7c
Commit
14e7bf7c
authored
30 years ago
by
Richard Kenner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(end_final,profile_function): Profiling variables are size of pointer,
not int. From-SVN: r7617
parent
8e1a11fc
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
gcc/final.c
+3
-3
No files found.
gcc/final.c
View file @
14e7bf7c
...
...
@@ -303,7 +303,7 @@ end_final (filename)
{
char
name
[
20
];
int
align
=
exact_log2
(
BIGGEST_ALIGNMENT
/
BITS_PER_UNIT
);
int
size
=
(
INT_TYPE
_SIZE
/
BITS_PER_UNIT
)
*
count_basic_blocks
;
int
size
=
(
POINTER
_SIZE
/
BITS_PER_UNIT
)
*
count_basic_blocks
;
int
rounded
=
size
;
struct
bb_list
*
ptr
;
struct
bb_str
*
sptr
;
...
...
@@ -947,14 +947,14 @@ static void
profile_function
(
file
)
FILE
*
file
;
{
int
align
=
MIN
(
BIGGEST_ALIGNMENT
,
BITS_PER_WORD
);
int
align
=
MIN
(
BIGGEST_ALIGNMENT
,
POINTER_SIZE
);
int
sval
=
current_function_returns_struct
;
int
cxt
=
current_function_needs_context
;
data_section
();
ASM_OUTPUT_ALIGN
(
file
,
floor_log2
(
align
/
BITS_PER_UNIT
));
ASM_OUTPUT_INTERNAL_LABEL
(
file
,
"LP"
,
profile_label_no
);
assemble_integer
(
const0_rtx
,
UNITS_PER_WORD
,
1
);
assemble_integer
(
const0_rtx
,
POINTER_SIZE
/
BITS_PER_UNIT
,
1
);
text_section
();
...
...
This diff is collapsed.
Click to expand it.
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