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
c07f146f
Commit
c07f146f
authored
Oct 03, 2002
by
Jan Hubicka
Committed by
Jan Hubicka
Oct 03, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* predict.c (choose_function_section): Avoid choice for linkonce functions.
From-SVN: r57785
parent
aba8a494
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
1 deletions
+10
-1
gcc/ChangeLog
+4
-0
gcc/predict.c
+6
-1
No files found.
gcc/ChangeLog
View file @
c07f146f
Thu
Oct
3
21
:
42
:
20
CEST
2002
Jan
Hubicka
<
jh
@suse
.
cz
>
*
predict
.
c
(
choose_function_section
)
:
Avoid
choice
for
linkonce
functions
.
Thu
Oct
3
15
:
15
:
00
CEST
2002
Jan
Hubicka
<
jh
@suse
.
cz
>
*
i386
.
md
(
lea
to
mul
peep2
)
:
Fix
condition
.
...
...
gcc/predict.c
View file @
c07f146f
...
...
@@ -1247,7 +1247,12 @@ static void
choose_function_section
()
{
if
(
DECL_SECTION_NAME
(
current_function_decl
)
||
!
targetm
.
have_named_sections
)
||
!
targetm
.
have_named_sections
/* Theoretically we can split the gnu.linkonce text section too,
but this requires more work as the frequency needs to match
for all generated objects so we need to merge the frequency
of all instances. For now just never set frequency for these. */
||
!
DECL_ONE_ONLY
(
current_function_decl
))
return
;
if
(
cfun
->
function_frequency
==
FUNCTION_FREQUENCY_HOT
)
DECL_SECTION_NAME
(
current_function_decl
)
=
...
...
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