r255540 - in /trunk/gcc: ChangeLog auto-profile...
ak@gcc.gnu.org
ak@gcc.gnu.org
Mon Dec 11 16:13:00 GMT 2017
Author: ak
Date: Mon Dec 11 16:13:53 2017
New Revision: 255540
URL: https://gcc.gnu.org/viewcvs?rev=255540&root=gcc&view=rev
Log:
Fix stack overflow with autofdo (PR83355)
g++.dg/bprob* is failing currently with autofdo.
Running in gdb shows that there is a very deep recursion in get_index_by_decl until it
overflows the stack.
gcc/:
2017-12-11 Andi Kleen <ak@linux.intel.com>
PR gcov-profile/83355
* auto-profile.c (string_table::get_index_by_decl): Don't
recurse when abstract origin points to itself.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/auto-profile.c
trunk/gcc/lto-streamer-in.c
More information about the Gcc-cvs
mailing list