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
82e45095
Commit
82e45095
authored
Jul 10, 2009
by
DJ Delorie
Committed by
DJ Delorie
Jul 10, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* config/mep/mep.c (mep_can_inline_p): Correct logic, and simplify.
From-SVN: r149507
parent
34b736c1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
5 deletions
+7
-5
gcc/ChangeLog
+4
-0
gcc/config/mep/mep.c
+3
-5
No files found.
gcc/ChangeLog
View file @
82e45095
2009-07-10 DJ Delorie <dj@redhat.com>
* config/mep/mep.c (mep_can_inline_p): Correct logic, and simplify.
2009-07-10 Mark Mitchell <mark@codesourcery.com>
2009-07-10 Mark Mitchell <mark@codesourcery.com>
* config/arm/thumb2.md (thumb2_cbz): Correct computation of length
* config/arm/thumb2.md (thumb2_cbz): Correct computation of length
...
...
gcc/config/mep/mep.c
View file @
82e45095
...
@@ -4115,14 +4115,12 @@ mep_can_inline_p (tree caller, tree callee)
...
@@ -4115,14 +4115,12 @@ mep_can_inline_p (tree caller, tree callee)
if
(
TREE_CODE
(
callee
)
==
ADDR_EXPR
)
if
(
TREE_CODE
(
callee
)
==
ADDR_EXPR
)
callee
=
TREE_OPERAND
(
callee
,
0
);
callee
=
TREE_OPERAND
(
callee
,
0
);
if
(
TREE_CODE
(
callee
)
==
FUNCTION_DECL
if
(
!
mep_vliw_function_p
(
caller
)
&&
DECL_DECLARED_INLINE_P
(
callee
)
&&
!
mep_vliw_function_p
(
caller
)
&&
mep_vliw_function_p
(
callee
))
&&
mep_vliw_function_p
(
callee
))
{
{
return
tru
e
;
return
fals
e
;
}
}
return
fals
e
;
return
tru
e
;
}
}
#define FUNC_CALL 1
#define FUNC_CALL 1
...
...
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