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
4ca1ca5b
Commit
4ca1ca5b
authored
Jun 24, 2015
by
Aldy Hernandez
Committed by
Aldy Hernandez
Jun 24, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* dwarf2out.c (gen_formal_parameter_die): Remove assert.
From-SVN: r224907
parent
024f2d89
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
17 additions
and
7 deletions
+17
-7
gcc/ChangeLog
+5
-0
gcc/dwarf2out.c
+3
-7
gcc/testsuite/gcc.dg/debug/dwarf2/pr66482.c
+9
-0
No files found.
gcc/ChangeLog
View file @
4ca1ca5b
2015-06-24 Aldy Hernandez <aldyh@redhat.com>
PR debug/66482
* dwarf2out.c (gen_formal_parameter_die): Remove assert.
2015-06-24 Ilya Enkovich <enkovich.gnu@gmail.com>
* tree-vect-slp.c (vect_build_slp_tree_1): Init vectype.
...
...
gcc/dwarf2out.c
View file @
4ca1ca5b
...
...
@@ -18021,18 +18021,14 @@ gen_formal_parameter_die (tree node, tree origin, bool emit_name_p,
{
/* FIXME: Reuse DIE even with a differing context.
This happens when called through
dwarf2out_abstract_function for formal parameter
packs. The issue is that we're calling
This can happen when calling
dwarf2out_abstract_function to build debug info for
the abstract instance of a function for which we have
already generated a DIE in
dwarf2out_early_global_decl.
Once we remove dwarf2out_abstract_function, this
gcc_assert should be a gcc_unreachable. */
gcc_assert
(
parm_die
->
die_parent
->
die_tag
==
DW_TAG_GNU_formal_parameter_pack
);
Once we remove dwarf2out_abstract_function, we should
have a call to gcc_unreachable here. */
}
}
...
...
gcc/testsuite/gcc.dg/debug/dwarf2/pr66482.c
0 → 100644
View file @
4ca1ca5b
/* { dg-do compile } */
/* { dg-options "-O3 -gdwarf" } */
void
f
(
int
p
)
{}
int
g
()
{
void
f
();
g
();
return
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