[Bug debug/91887] [7/8/9 Regression] -fdebug-types-section ICE building chromium

2019-10-16 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91887

Richard Biener  changed:

   What|Removed |Added

  Known to work||10.0
Summary|[7/8/9/10 Regression]   |[7/8/9 Regression]
   |-fdebug-types-section ICE   |-fdebug-types-section ICE
   |building chromium   |building chromium

--- Comment #7 from Richard Biener  ---
Fixed on trunk sofar.

[Bug debug/91887] [7/8/9 Regression] -fdebug-types-section ICE building chromium

2019-10-22 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91887

Richard Biener  changed:

   What|Removed |Added

   Priority|P3  |P2

[Bug debug/91887] [7/8/9 Regression] -fdebug-types-section ICE building chromium

2019-10-23 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91887

--- Comment #8 from Richard Biener  ---
Author: rguenth
Date: Wed Oct 23 10:32:06 2019
New Revision: 277312

URL: https://gcc.gnu.org/viewcvs?rev=277312&root=gcc&view=rev
Log:
2019-10-23  Richard Biener  

Backport from mainline
2019-10-17  Richard Biener  

PR debug/91887
* dwarf2out.c (gen_formal_parameter_die): Also try to match
context_die against a DW_TAG_GNU_formal_parameter_pack parent.

* g++.dg/debug/dwarf2/pr91887.C: New testcase.

Added:
branches/gcc-9-branch/gcc/testsuite/g++.dg/debug/dwarf2/pr91887.C
Modified:
branches/gcc-9-branch/gcc/ChangeLog
branches/gcc-9-branch/gcc/dwarf2out.c
branches/gcc-9-branch/gcc/testsuite/ChangeLog