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
1c1f2d29
Commit
1c1f2d29
authored
Apr 28, 1995
by
Jason Merrill
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Tweak line numbers in output
From-SVN: r9540
parent
6e4e5f1b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
18 deletions
+9
-18
gcc/integrate.c
+9
-18
No files found.
gcc/integrate.c
View file @
1c1f2d29
...
...
@@ -1226,14 +1226,6 @@ expand_inline_function (fndecl, parms, target, ignore, type, structure_value_add
/* Make a fresh binding contour that we can easily remove. */
pushlevel
(
0
);
expand_start_bindings
(
0
);
if
(
GET_CODE
(
parm_insns
)
==
NOTE
&&
NOTE_LINE_NUMBER
(
parm_insns
)
>
0
)
{
rtx
note
=
emit_note
(
NOTE_SOURCE_FILE
(
parm_insns
),
NOTE_LINE_NUMBER
(
parm_insns
));
if
(
note
)
RTX_INTEGRATED_P
(
note
)
=
1
;
}
/* Expand the function arguments. Do this first so that any
new registers get created before we allocate the maps. */
...
...
@@ -1252,16 +1244,6 @@ expand_inline_function (fndecl, parms, target, ignore, type, structure_value_add
enum
machine_mode
mode
=
TYPE_MODE
(
TREE_TYPE
(
formal
));
int
invisiref
=
0
;
/* Make sure this formal has some correspondence in the users code
* before emitting any line notes for it. */
if
(
DECL_SOURCE_LINE
(
formal
))
{
rtx
note
=
emit_note
(
DECL_SOURCE_FILE
(
formal
),
DECL_SOURCE_LINE
(
formal
));
if
(
note
)
RTX_INTEGRATED_P
(
note
)
=
1
;
}
arg_trees
[
i
]
=
arg
;
loc
=
RTVEC_ELT
(
arg_vector
,
i
);
...
...
@@ -1384,6 +1366,15 @@ expand_inline_function (fndecl, parms, target, ignore, type, structure_value_add
if
(
FUNCTION_FLAGS
(
header
)
&
FUNCTION_FLAGS_NEEDS_CONTEXT
)
static_chain_value
=
lookup_static_chain
(
fndecl
);
if
(
GET_CODE
(
parm_insns
)
==
NOTE
&&
NOTE_LINE_NUMBER
(
parm_insns
)
>
0
)
{
rtx
note
=
emit_note
(
NOTE_SOURCE_FILE
(
parm_insns
),
NOTE_LINE_NUMBER
(
parm_insns
));
if
(
note
)
RTX_INTEGRATED_P
(
note
)
=
1
;
}
/* Process each argument. For each, set up things so that the function's
reference to the argument will refer to the argument being passed.
We only replace REG with REG here. Any simplifications are done
...
...
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