re PR c++/82054 (ICE in add_dwarf_attr with -fopenmp and -g)
authorRichard Biener <rguenther@suse.de>
Thu, 31 Aug 2017 11:20:54 +0000 (11:20 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Thu, 31 Aug 2017 11:20:54 +0000 (11:20 +0000)
commit7488b5779f3d2c350ce7b2bfe8e8cce145efe417
treee8de844db1398996203d33b3988887e367d930fc
parentcae83731bfaa81c72f3a1eb897ce463c46c461aa
re PR c++/82054 (ICE in add_dwarf_attr with -fopenmp and -g)

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.

From-SVN: r251559
gcc/ChangeLog
gcc/dwarf2out.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/gomp/pr82054.C [new file with mode: 0644]