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
47e538e8
Commit
47e538e8
authored
Jun 09, 1997
by
Richard Kenner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(expand_builtin, case BUILT_IN_FRAME_ADDRESS): Use correct function
name in error message. From-SVN: r14191
parent
39d78b32
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
7 deletions
+6
-7
gcc/expr.c
+6
-7
No files found.
gcc/expr.c
View file @
47e538e8
...
...
@@ -8480,14 +8480,13 @@ expand_builtin (exp, target, subtarget, mode, ignore)
if
(
arglist
==
0
)
/* Warning about missing arg was already issued. */
return
const0_rtx
;
else
if
(
TREE_CODE
(
TREE_VALUE
(
arglist
))
!=
INTEGER_CST
)
else
if
(
TREE_CODE
(
TREE_VALUE
(
arglist
))
!=
INTEGER_CST
||
tree_int_cst_sgn
(
TREE_VALUE
(
arglist
))
<
0
)
{
error
(
"invalid arg to `__builtin_return_address'"
);
return
const0_rtx
;
}
else
if
(
tree_int_cst_sgn
(
TREE_VALUE
(
arglist
))
<
0
)
{
error
(
"invalid arg to `__builtin_return_address'"
);
if
(
DECL_FUNCTION_CODE
(
fndecl
)
==
BUILT_IN_FRAME_ADDRESS
)
error
(
"invalid arg to `__builtin_frame_address'"
);
else
error
(
"invalid arg to `__builtin_return_address'"
);
return
const0_rtx
;
}
else
...
...
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