This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/82054] [8 Regression] ICE in add_dwarf_attr with -fopenmp and -g
- From: "rguenth at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 31 Aug 2017 11:21:25 +0000
- Subject: [Bug c++/82054] [8 Regression] ICE in add_dwarf_attr with -fopenmp and -g
- Auto-submitted: auto-generated
- References: <bug-82054-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82054
--- Comment #5 from Richard Biener <rguenth at gcc dot gnu.org> ---
Author: rguenth
Date: Thu Aug 31 11:20:54 2017
New Revision: 251559
URL: https://gcc.gnu.org/viewcvs?rev=251559&root=gcc&view=rev
Log:
2017-08-31 Richard Biener <rguenther@suse.de>
PR middle-end/82054
* dwarf2out.c (dwarf2out_early_global_decl): Process each
function only once.
* g++.dg/gomp/pr82054.C: New testcase.
Added:
trunk/gcc/testsuite/g++.dg/gomp/pr82054.C
Modified:
trunk/gcc/ChangeLog
trunk/gcc/dwarf2out.c
trunk/gcc/testsuite/ChangeLog