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
ebb0cdf3
Commit
ebb0cdf3
authored
Jan 05, 2001
by
Catherine Moore
Committed by
Catherine Moore
Jan 05, 2001
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(dbxout_parms): Handle invisible ref where decl is a REG
From-SVN: r38720
parent
3b4e6a16
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
1 deletions
+9
-1
gcc/ChangeLog
+4
-0
gcc/dbxout.c
+5
-1
No files found.
gcc/ChangeLog
View file @
ebb0cdf3
2001-01-05 Catherine Moore <clm@redhat.com>
* dbxout.c ((dbxout_parms): Handle invisible ref where decl is a REG.
2001-01-05 Phil Edwards <pme@sources.redhat.com>
* cp/lang-options.h: Bring comment in line with reality.
...
...
gcc/dbxout.c
View file @
ebb0cdf3
...
...
@@ -2474,10 +2474,14 @@ dbxout_parms (parms)
{
/* Parm was passed via invisible reference, with the reference
living on the stack. DECL_RTL looks like
(MEM (MEM (PLUS (REG ...) (CONST_INT ...)))). */
(MEM (MEM (PLUS (REG ...) (CONST_INT ...)))) or it
could look like (MEM (MEM (REG))). */
const
char
*
decl_name
=
(
DECL_NAME
(
parms
)
?
IDENTIFIER_POINTER
(
DECL_NAME
(
parms
))
:
"(anon)"
);
if
(
GET_CODE
(
XEXP
(
XEXP
(
DECL_RTL
(
parms
),
0
),
0
))
==
REG
)
current_sym_value
=
0
;
else
current_sym_value
=
INTVAL
(
XEXP
(
XEXP
(
XEXP
(
DECL_RTL
(
parms
),
0
),
0
),
1
));
current_sym_addr
=
0
;
...
...
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