re PR debug/77947 (ICE with -g and -O2 in strip_naming_typedef)
authorRichard Biener <rguenther@suse.de>
Wed, 12 Oct 2016 14:37:53 +0000 (14:37 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Wed, 12 Oct 2016 14:37:53 +0000 (14:37 +0000)
commit0bfd099c35ab5e03bb51dcd237ba5fb82b500b86
tree3df218c47dcb17cac62dbd5519e6d2e34b1c7b59
parent05f1a54316f9516defe5ab54e0be66b1821596a1
re PR debug/77947 (ICE with -g and -O2 in strip_naming_typedef)

2016-10-12  Richard Biener  <rguenther@suse.de>

PR debug/77947
* cgraphunit.c (analyze_functions): Preserve cgraph nodes
function context.

* g++.dg/torture/pr77947.C: New testcase.

From-SVN: r241053
gcc/ChangeLog
gcc/cgraphunit.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/torture/pr77947.C [new file with mode: 0644]