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
b660f82f
Commit
b660f82f
authored
24 years ago
by
John Wehle
Committed by
John Wehle
24 years ago
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* final.c: (leaf_function_p): Fix typo.
From-SVN: r38935
parent
825b6926
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
9 deletions
+16
-9
gcc/ChangeLog
+4
-0
gcc/final.c
+12
-9
No files found.
gcc/ChangeLog
View file @
b660f82f
Thu Jan 11 17:06:30 EST 2001 John Wehle (john@feith.com)
* final.c: (leaf_function_p): Fix typo.
2001-01-11 Zack Weinberg <zack@wolery.stanford.edu>
* aclocal.m4 (AC_FUNC_MMAP_ANYWHERE): Completely rewritten.
...
...
This diff is collapsed.
Click to expand it.
gcc/final.c
View file @
b660f82f
/* Convert RTL to assembler code and output it, for GNU compiler.
Copyright (C) 1987, 1988, 1989, 1992, 1993, 1994, 1995, 1996, 1997,
1998, 1999, 2000 Free Software Foundation, Inc.
1998, 1999, 2000
, 2001
Free Software Foundation, Inc.
This file is part of GNU CC.
...
...
@@ -4125,6 +4125,7 @@ int
leaf_function_p
()
{
rtx
insn
;
rtx
link
;
if
(
profile_flag
||
profile_block_flag
||
profile_arc_flag
)
return
0
;
...
...
@@ -4140,17 +4141,19 @@ leaf_function_p ()
&&
!
SIBLING_CALL_P
(
XVECEXP
(
PATTERN
(
insn
),
0
,
0
)))
return
0
;
}
for
(
insn
=
current_function_epilogue_delay_list
;
insn
;
insn
=
XEXP
(
insn
,
1
))
for
(
link
=
current_function_epilogue_delay_list
;
link
;
link
=
XEXP
(
link
,
1
))
{
if
(
GET_CODE
(
XEXP
(
insn
,
0
))
==
CALL_INSN
insn
=
XEXP
(
link
,
0
);
if
(
GET_CODE
(
insn
)
==
CALL_INSN
&&
!
SIBLING_CALL_P
(
insn
))
return
0
;
if
(
GET_CODE
(
XEXP
(
insn
,
0
)
)
==
INSN
&&
GET_CODE
(
PATTERN
(
XEXP
(
insn
,
0
)
))
==
SEQUENCE
&&
GET_CODE
(
XVECEXP
(
PATTERN
(
XEXP
(
insn
,
0
)
),
0
,
0
))
==
CALL_INSN
&&
!
SIBLING_CALL_P
(
XVECEXP
(
PATTERN
(
XEXP
(
insn
,
0
)
),
0
,
0
)))
if
(
GET_CODE
(
insn
)
==
INSN
&&
GET_CODE
(
PATTERN
(
insn
))
==
SEQUENCE
&&
GET_CODE
(
XVECEXP
(
PATTERN
(
insn
),
0
,
0
))
==
CALL_INSN
&&
!
SIBLING_CALL_P
(
XVECEXP
(
PATTERN
(
insn
),
0
,
0
)))
return
0
;
}
...
...
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