https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82256
--- Comment #7 from PaX Team <pageexec at gmail dot com> --- (In reply to Jan Hubicka from comment #5) > I am going to test the patch against mainline and commit it. However about > backporting, can you produce some issue with this bug? well, the thing is that i ran across this while playing with the plugin API and noticed that my notification callbacks didn't see the expected cgraph nodes on certain gcc versions (v5+) which made me look into the cause and find the typo made during the refactoring. as for sideeffects, gcc itself is a user of these hooks (ipa-prop.c, ipa-pure-const.c and symbol-summary.h) so missing nodes there can probably have undesirable sideeffects but it's probably best to let gcc developers familiar with that code determine that. in any case, i think the regressive nature of this bug alone should warrant a backport to all affected versions...