diff options
author | Aldy Hernandez <aldyh@redhat.com> | 2015-06-24 15:58:13 +0000 |
---|---|---|
committer | Aldy Hernandez <aldyh@gcc.gnu.org> | 2015-06-24 15:58:13 +0000 |
commit | 4ca1ca5bdb4c7467a1db9a3e2ef32607cceb6ddd (patch) | |
tree | fa8928882049ca8196d43a940f15c35b5003e0c9 /gcc/dwarf2out.c | |
parent | 024f2d8923b9622fdf5d85d474ef77e36431ab81 (diff) | |
download | gcc-4ca1ca5bdb4c7467a1db9a3e2ef32607cceb6ddd.zip gcc-4ca1ca5bdb4c7467a1db9a3e2ef32607cceb6ddd.tar.gz gcc-4ca1ca5bdb4c7467a1db9a3e2ef32607cceb6ddd.tar.bz2 |
* dwarf2out.c (gen_formal_parameter_die): Remove assert.
From-SVN: r224907
Diffstat (limited to 'gcc/dwarf2out.c')
-rw-r--r-- | gcc/dwarf2out.c | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/gcc/dwarf2out.c b/gcc/dwarf2out.c index 360f67f..843fc1e 100644 --- a/gcc/dwarf2out.c +++ b/gcc/dwarf2out.c @@ -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. */ } } |