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
a3aadcc5
Commit
a3aadcc5
authored
Mar 01, 2009
by
Jan Hubicka
Committed by
Jan Hubicka
Mar 01, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* tree-inline.c (tree_function_versioning): Output debug info.
From-SVN: r144516
parent
1cf5abb3
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
44 additions
and
0 deletions
+44
-0
gcc/ChangeLog
+4
-0
gcc/testsuite/ChangeLog
+4
-0
gcc/testsuite/gcc.dg/debug/dwarf2/ipa-cp1.c
+30
-0
gcc/tree-inline.c
+6
-0
No files found.
gcc/ChangeLog
View file @
a3aadcc5
2009-02-28 Jan Hubicka <jh@suse.cz>
2009-02-28 Jan Hubicka <jh@suse.cz>
* tree-inline.c (tree_function_versioning): Output debug info.
2009-02-28 Jan Hubicka <jh@suse.cz>
PR debug/39267
PR debug/39267
* tree-inline.c (setup_one_parameter): Do not copy propagate
* tree-inline.c (setup_one_parameter): Do not copy propagate
arguments when not optimizing.
arguments when not optimizing.
...
...
gcc/testsuite/ChangeLog
View file @
a3aadcc5
2009-03-01 Jan Hubicka <jh@suse.cz>
2009-03-01 Jan Hubicka <jh@suse.cz>
* gcc.dg/debug/dwarf2/ipa-cp1.c: New testcase.
2009-03-01 Jan Hubicka <jh@suse.cz>
PR debug/39267
PR debug/39267
* gcc.dg/debug/dwarf2/inline1.c: New testcase.
* gcc.dg/debug/dwarf2/inline1.c: New testcase.
...
...
gcc/testsuite/gcc.dg/debug/dwarf2/ipa-cp1.c
0 → 100644
View file @
a3aadcc5
/* { dg-do compile } */
/* { dg-options "-O2 -gdwarf-2 -dA" } */
void
q
(
int
p
);
static
void
t
(
int
constant_propagated_par
)
{
int
local_var
=
constant_propagated_par
+
1
;
q
(
local_var
);
q
(
local_var
);
q
(
local_var
);
q
(
local_var
);
q
(
local_var
);
q
(
local_var
);
q
(
local_var
);
q
(
local_var
);
q
(
local_var
);
q
(
local_var
);
q
(
local_var
);
}
main
()
{
t
(
5
);
t
(
5
);
t
(
5
);
t
(
5
);
t
(
5
);
t
(
5
);
t
(
5
);
}
/* { dg-final { scan-assembler "local_var" } } */
gcc/tree-inline.c
View file @
a3aadcc5
...
@@ -4226,6 +4226,12 @@ tree_function_versioning (tree old_decl, tree new_decl, varray_type tree_map,
...
@@ -4226,6 +4226,12 @@ tree_function_versioning (tree old_decl, tree new_decl, varray_type tree_map,
old_version_node
=
cgraph_node
(
old_decl
);
old_version_node
=
cgraph_node
(
old_decl
);
new_version_node
=
cgraph_node
(
new_decl
);
new_version_node
=
cgraph_node
(
new_decl
);
/* Output the inlining info for this abstract function, since it has been
inlined. If we don't do this now, we can lose the information about the
variables in the function when the blocks get blown away as soon as we
remove the cgraph node. */
(
*
debug_hooks
->
outlining_inline_function
)
(
old_decl
);
DECL_ARTIFICIAL
(
new_decl
)
=
1
;
DECL_ARTIFICIAL
(
new_decl
)
=
1
;
DECL_ABSTRACT_ORIGIN
(
new_decl
)
=
DECL_ORIGIN
(
old_decl
);
DECL_ABSTRACT_ORIGIN
(
new_decl
)
=
DECL_ORIGIN
(
old_decl
);
...
...
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