> Hello. > > For every created function_summary, we validate (with flag_checking) that > all cgraph_nodes have summary_uid > 0. It produces a compile hog. > It's sufficient to validate that for nodes that really utilize a function > summary. > > Patch can bootstrap®test on ppc64le-linux-gnu. > > Ready for trunk? > Martin
> >From e5a33bd95a102d16d38bbe2a35ecf0fd9a196ee3 Mon Sep 17 00:00:00 2001 > From: marxin <mli...@suse.cz> > Date: Fri, 29 Apr 2016 13:48:31 +0200 > Subject: [PATCH] Symbol summary: refactor usage of gcc_checking_asserts > > gcc/ChangeLog: > > 2016-04-29 Martin Liska <mli...@suse.cz> > > * symbol-summary.h (function_summary::function_summary): > Remove checking assert for all cgraph nodes. > (function_summary::get): Check summary_uid. > (symtab_insertion): Check summary_uid. OK, thanks, Honza